Install¶
Register the app in your project settings like that :
INSTALLED_APPS = (
...
'crispy_forms',
'crispy_forms_foundation',
...
)
Then append this part to specify usage of the Foundation set :
# Default layout to use with "crispy_forms"
CRISPY_TEMPLATE_PACK = 'foundation-5'
If not defined, the default template pack name used is foundation-5, also you can use foundation-3 but pay attention that is not really maintained.
All other django-crispy-forms settings option apply, see its documentation for more details.