This is a Django application to add django-crispy-forms layout objects for Materialize.
This app does not embed a Materialize release, you will have to install django-materialize-css as a dependency.
- Read the documentation on Read the docs soon!;
- Download his PyPi package <http://pypi.python.org/pypi/crispy-forms-materialize;
- Clone it on his Github repository <https://github.com/edvm/crispy-forms-materialize;
- django-crispy-forms = 1.4.x;
- django-materialize-css = 1.4.x;
Just register the app in your project settings like that :
INSTALLED_APPS = (
...
'materialize',
'crispy_forms',
'crispy_forms_materialize',
...
)
Then append this part to specify usage of the Materialize set :
# Default layout to use with "crispy_forms"
CRISPY_TEMPLATE_PACK = 'materialize_css_forms'
All other django-crispy-forms settings option apply, see its documentation for more details.