1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
|
.. _django-crispy-forms: https://github.com/maraujop/django-crispy-forms
.. _install-intro:
=======
Install
=======
Get it from PyPi: ::
pip install crispy-forms-foundation
Register required applications in your project settings: ::
INSTALLED_APPS = (
...
"crispy_forms",
"crispy_forms_foundation",
...
)
Import default settings at the end of the settings file: ::
from crispy_forms_foundation.settings import *
Default template pack name used will be ``foundation-6``.
All other `django-crispy-forms`_ settings option apply, see its documentation for
more details.
Finally you will need to install Foundation assets in your project. For novices, a
quick way to start is to use last
`Foundation compiled version from CDN links <https://get.foundation/sites/docs/installation.html#cdn-links>`_.
|