/crispy-forms-materialize

Django application to add 'django-crispy-forms' layout objects for Materialize CSS http://materializecss.com/

Primary LanguageHTMLGNU General Public License v3.0GPL-3.0

This repo is Deprecated

Please dont use me, i no longer have maintenance.

Looking for someone to maintain the project

If you are interested in continuing with the project and maintaining it, please send me an email.

Introduction

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 or download/ link to latests updates of materializecss in your project.

Requires

You can get django-materialize-css from PyPI and github

Installation

Probably the best way to install is by using `PIP`:

$ pip install crispy-forms-materialize

If you want to stay on the bleeding edge of the app:

$ git clone https://github.com/edvm/crispy-forms-materialize.git
$ cd crispy-forms-materialize
$ python setup.py install

Then add the app in your project's INSTALLED_APPS like this :

python

INSTALLED_APPS = (

... 'materialize', 'crispy_forms', 'crispy_forms_materialize', ...

)

Then change crispy template pack settings to start using it in your forms:

python

# 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.