You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

crispy-forms-materialize

Package Overview
Dependencies
Maintainers
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

crispy-forms-materialize

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

0.2
pipPyPI
Maintainers
2

.. _docutils: http://docutils.sourceforge.net/ .. _Django: https://www.djangoproject.com/ .. _django-materialize-css: https://pypi.python.org/pypi/django-materialize-css/ .. _django-crispy-forms: https://github.com/maraujop/django-crispy-forms .. _Materialize: http://materializecss.com

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.

Links

  • Read the documentation on Read the docs soon!;
  • Download and install this from PyPi package <https://pypi.python.org/pypi/crispy-forms-materialize/>__
  • Clone it on this Github repository <https://github.com/edvm/crispy-forms-materialize>__

Requires

  • django-crispy-forms_ above 1.4.x version
  • django-materialize-css_ above 1.4.x version (optional)

You can get django-materialize-css from PyPI <https://pypi.python.org/pypi/django-materialize-css/>__ and github <https://github.com/edvm/django-materialize-css>__

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 :

.. sourcecode:: python

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

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

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

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts