File: settings.rst

package info (click to toggle)
python-django-crispy-forms-foundation 1.1.0%2Bds-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 880 kB
  • sloc: javascript: 6,437; python: 1,326; makefile: 200; sh: 17
file content (18 lines) | stat: -rw-r--r-- 733 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
.. _django-crispy-forms: https://github.com/maraujop/django-crispy-forms

========
Settings
========

**crispy-forms-foundation** itself does not have its own settings but overrides some of `django-crispy-forms`_ settings:

CRISPY_ALLOWED_TEMPLATE_PACKS
    To add ``foundation-6`` template pack names to allowed template packs.
CRISPY_TEMPLATE_PACK
    To set default template pack to ``foundation-6``.
CRISPY_CLASS_CONVERTERS
    To define some input class name converters required for ``foundation-6``.

These settings are defined in ``crispy_forms_foundation.settings`` you should have imported (as seen in :ref:`install-intro` document).

All other settings from `django-crispy-forms`_ still apply to change crispies behaviors.