Skip to content

jericksanjuan/crispy-forms-materialize

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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'
CRISPY_ALLOWED_TEMPLATE_PACKS = ('bootstrap', 'uni_form', 'bootstrap3', 'materialize')

All other django-crispy-forms settings option apply, see its documentation for more details.

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 70.5%
  • Python 29.5%