deb-python-django-bootstrap.../README.rst
2012-02-29 18:42:10 +00:00

597 B

Django bootatrap form

Generate twitter-bootstrap form output for django form

A django template tag to work with twitter bootstrap ( http://twitter.github.com/bootstrap/ )

Installation

$ pip install django-bootstrap-form

for people who still use older version before twitter bootstrap 2.0

$ pip install django-bootstrap-form==0.2

Configuration

Add 'bootstrapform' to INSTALLED_APPS.

Usage

{% load bootstrap %}

{{ form|bootstrap }}

{{ form.<field name>|bootstrap }} - To output individual fields