Skip to main content
# django-materialize-forms
Django tamplatetags for materialize css



Installation
------------
1. Install using pip:

pip install django-materialize-forms

2. Add to INSTALLED_APPS:

'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>
</div>
</form>

Download files

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

Source Distribution

django-materialize-forms-0.2.0.tar.gz (1.3 MB view details)

Uploaded Source

File details

Details for the file django-materialize-forms-0.2.0.tar.gz.

File metadata

File hashes

Hashes for django-materialize-forms-0.2.0.tar.gz
Algorithm Hash digest
SHA256 fe2fb7f36e194ec09f9f3a38ee5ab51fb7fdb4a8b2cb54a778ab79edc42c72eb
MD5 9bee73a300617956be021ecf3eaa592c
BLAKE2b-256 cd547ae138b0e451ca4d2c7c67942f6db57cab17ee60dc297485e87879b386b1

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.2.0 This release

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page