d760a0f856
Might save new users a little bit of digging.
54 lines
1.2 KiB
ReStructuredText
54 lines
1.2 KiB
ReStructuredText
=====================
|
|
Django bootstrap form
|
|
=====================
|
|
|
|
.. image:: https://badge.fury.io/py/django-bootstrap-form.png
|
|
:alt: PyPI version
|
|
:target: https://pypi.python.org/pypi/django-bootstrap-form
|
|
|
|
.. image:: https://travis-ci.org/tzangms/django-bootstrap-form.png?branch=master
|
|
:target: https://travis-ci.org/tzangms/django-bootstrap-form
|
|
|
|
.. image:: https://coveralls.io/repos/tzangms/django-bootstrap-form/badge.png?branch=master
|
|
:target: https://coveralls.io/r/tzangms/django-bootstrap-form?branch=master
|
|
|
|
|
|
.. image:: https://d2weczhvl823v0.cloudfront.net/tzangms/django-bootstrap-form/trend.png
|
|
:alt: Bitdeli badge
|
|
:target: https://bitdeli.com/free
|
|
|
|
|
|
Twitter Bootstrap for Django Form.
|
|
|
|
A simple Django template tag to work with `Bootstrap <http://twitter.github.com/bootstrap/>`_
|
|
|
|
Install
|
|
=======
|
|
|
|
Add to ``INSTALLED_APPS``:
|
|
|
|
.. code-block ::
|
|
|
|
# myapp/settings.py
|
|
|
|
INSTALLED_APPS = [
|
|
'bootstrapform',
|
|
# ...
|
|
]
|
|
|
|
Usage
|
|
======
|
|
|
|
Use it like this, simple.
|
|
|
|
.. code-block::
|
|
|
|
{% load bootstrap %}
|
|
{{ form|bootstrap }}
|
|
|
|
|
|
Demo
|
|
=====
|
|
|
|
Checkout this `Demo site <http://django-bootstrap-form.herokuapp.com/>`_ to see it in action.
|