arjoonn sharma 4326a2fbb6 In the form.html template cehcking the same condition is done twice.
Doing it once reduces complexity making the code faster while rendering.
Also since the check is done on a high level like templates, it is slower than
the native python if condition. Thus the need to reduce checks on the higher levels.
2015-03-06 11:36:06 +05:30
2013-09-09 22:44:16 -04:00
2013-12-09 02:43:40 +08:00
2014-04-03 21:12:34 +02:00
2013-12-06 03:40:56 +08:00
2011-09-13 20:59:07 -07:00
2012-02-14 21:23:14 +08:00

Django bootstrap form

PyPI version

image

image

Bitdeli badge

Twitter Bootstrap for Django Form.

A simple Django template tag to work with Bootstrap

Install

Add to INSTALLED_APPS:

# myapp/settings.py

INSTALLED_APPS = [

'bootstrapform', # ...

]

Usage

Use it like this, simple.

{% load bootstrap %}
{{ form|bootstrap }}

Demo

Checkout this Demo site to see it in action.

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