Skip to main content
Join the official 2020 Python Developers SurveyStart the survey!

Materializecss support for Django projects

Project description

# django-materialize-forms
Django tamplatetags for materialize css

1. Install using pip:

pip install django-materialize-forms



Use in templates

{% load materialize %}

# Using a filter

<form action="/url/to/submit/" method="post">
{% csrf_token %}
{{ form.field_1|as_material:"s12" }}
{{ form.field_2|as_material:"s12" }}
{{ form.field_3|as_material:"s12" }}
<div class="form-actions">
<button type="submit" class="btn btn-primary">Submit</button>

Project details

Download files

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

Files for django-materialize-forms, version 0.2.0
Filename, size File type Python version Upload date Hashes
Filename, size django-materialize-forms-0.2.0.tar.gz (1.3 MB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page