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 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 :

INSTALLED_APPS = (
    ...
    'materialize',
    'crispy_forms',
    'crispy_forms_materialize',
    ...
)

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

# 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.2.tar.gz (20.1 kB view details)

Uploaded Source

File details

Details for the file crispy-forms-materialize-0.2.tar.gz.

File metadata

File hashes

Hashes for crispy-forms-materialize-0.2.tar.gz
Algorithm Hash digest
SHA256 d98696bdd5eee8b009944adec99158ec5579c9f95b8095eb66e93b52a98ef8b2
MD5 8fd1dc08fc169bbf1522f59d6f888fa2
BLAKE2b-256 690f0bc6a85f328c6e6a1fdd419510b0040ba195975e7c09e4f1772f9e02aae1

See more details on using hashes here.

Provenance

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