Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Templatetags to add Zurb Foundation support to Django Forms

Project Description

Django Foundation Formtags

Django template tags to work with Zurb Foundation forms

Getting Started

Create a virtualenv:

$ virtualenv my-env

At the command line:

$ pip install django-foundation-formtags


To start use django-foundation-forms in a project you must include in your settings:


In the template load foundation tags by:

{% load foundation_formtags %}

To use the django-form-foundation filter:

<form class="form" action="{{ url }}" method="POST">
    {% csrf_token %}
    {{ form|as_foundation }}

To use the django-form-foundation field tags:

<form class="form" action="{{ url }}" method="POST">
    {% csrf_token %}
    {% render_field %}

    {% render_field form.subject %}

    {% render_field form.message %}

Required versus optional fields

The normal behaviour is to mark required fields with *. If you want to mark only optional fields, you can add the following setting to your project settings file.


To learn more about optional fields read this blog.


Contributions are welcome, and they are greatly appreciated! Every little bit helps, and credit will always be given.


0.1.0 (2017-06-05)

  • Provide users option to use * or optional

0.0.9 (2017-06-05)

  • Cleaned up travis configuration for tox to improve testing

0.0.8 (2017-05-09)

  • Make it Compatible with Django 1.11

0.0.7 (2016-09-25)

  • Make Compatible with Django 1.10
  • Minimum version is now Django 1.8. For earlier versions of Django use 0.0.6

0.0.6 (2016-08-05)

Fix for checkbox rendering and New error class for Non field errors in Foundation 6

0.0.5 (2016-07-12)

  • First release on PyPI.

Release History

This version
History Node


History Node


History Node


History Node


History Node


History Node


Download Files

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

File Name & Hash SHA256 Hash Help Version File Type Upload Date
(14.1 kB) Copy SHA256 Hash SHA256
py2.py3 Wheel Oct 4, 2017
(21.1 kB) Copy SHA256 Hash SHA256
Source Oct 4, 2017

Supported By

Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Google Google Cloud Servers DreamHost DreamHost Log Hosting