Skip to main content

Django application to add 'django-crispy-forms' layout objects for Materialize

Project description

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.

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

crispy-forms-materialize-0.1.tar.gz (19.5 kB view hashes)

Uploaded Source

Built Distribution

crispy_forms_materialize-0.1-py3-none-any.whl (18.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page