Update README.rst for more explicit setup.
Might save new users a little bit of digging.
This commit is contained in:
14
README.rst
14
README.rst
@@ -22,6 +22,19 @@ Twitter Bootstrap for Django Form.
|
|||||||
|
|
||||||
A simple Django template tag to work with `Bootstrap <http://twitter.github.com/bootstrap/>`_
|
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
|
Usage
|
||||||
======
|
======
|
||||||
@@ -30,6 +43,7 @@ Use it like this, simple.
|
|||||||
|
|
||||||
.. code-block::
|
.. code-block::
|
||||||
|
|
||||||
|
{% load bootstrap %}
|
||||||
{{ form|bootstrap }}
|
{{ form|bootstrap }}
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user