2013-05-07 16:23:12 +08:00
2013-05-06 15:26:30 -04:00
2013-05-07 16:23:12 +08:00
2013-05-07 16:23:12 +08:00
2011-09-13 20:59:07 -07:00
2012-02-14 21:23:14 +08:00
2013-05-07 16:23:12 +08:00
2012-02-14 18:37:20 +08:00

Django bootstrap form

Generate twitter-bootstrap form output for django form

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

readthedocs

Screenshot

image

Installation

Install django-bootstrap-form with pip

$ pip install django-bootstrap-form

Configuration

Add 'bootstrapform' to INSTALLED_APPS.

INSTALLED_APPS = (
    ...
    'bootstrapform',
    ...
)

Usage

{% load bootstrap %}

{{ form|bootstrap }}

# or use with individual field

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

CHANGELOG

  • 2013-5-7:

    Add radio support for ChoiceField

Description
RETIRED, further work has moved to Debian project infrastructure
Readme 303 KiB
Languages
HTML 59.1%
Python 40.9%