Skip to content

Latest commit

 

History

History
50 lines (35 loc) · 1.36 KB

README.rst

File metadata and controls

50 lines (35 loc) · 1.36 KB

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.

Links

Requires

Installation

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.