Skip to content

Commit a6ffb2e

Browse files
committed
improve docs & descriptions
1 parent 930d703 commit a6ffb2e

File tree

3 files changed

+29
-5
lines changed

3 files changed

+29
-5
lines changed

README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,21 @@
22
Django bootstrap forms for django-jinja
33
=======================================
44

5-
[![Build Status](https://travis-ci.org/samuelcolvin/django-jinja-bootstrap-form.svg?branch=master)](https://travis-ci.org/samuelcolvin/django-jinja-bootstrap-form)
5+
[![Build Status](https://travis-ci.org/samuelcolvin/django-jinja-bootstrap-form.svg?branch=master&style=flat)](https://travis-ci.org/samuelcolvin/django-jinja-bootstrap-form)
6+
[![PyPI Status](https://img.shields.io/pypi/v/django-jinja-bootstrap-form.svg?style=flat)](https://pypi.python.org/pypi/django-jinja-bootstrap-form)
67

78
Port of [django-bootstrap-form](https://github.com/tzangms/django-bootstrap-form) which is compatible with
89
[django-jinja](https://github.com/niwibe/django-jinja).
910

1011
Twitter Bootstrap for Django Forms.
1112

13+
Supports Django 1.6, 1.7, 1.8.
14+
1215
See [django-bootstrap-form](https://github.com/tzangms/django-bootstrap-form) for documentation. Usage should
1316
be the same except:
1417
* there's no need to `{% load bootstrap %}` as template tags are preloaded in django-jinja.
1518
* add `bootstrapform_jinja` to `INSTALLED_APPS` not `bootstrapform`.
19+
20+
### To Install
21+
22+
pip install django-jinja-bootstrap-form

bootstrapform_jinja/meta.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
from distutils.version import StrictVersion
22

33
# start from a fresh number 4 to identify jinja verison
4-
VERSION = StrictVersion('4.0.1')
4+
VERSION = StrictVersion('4.0.3')
55

setup.py

Lines changed: 20 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,27 @@
11
from setuptools import setup, find_packages
22
from bootstrapform_jinja.meta import VERSION
33

4+
description = """
5+
django-jinja-bootstrap-form
6+
===========================
7+
8+
`github.com/samuelcolvin/django-jinja-bootstrap-form <https://github.com/samuelcolvin/django-jinja-bootstrap-form>`_
9+
10+
Port of `django-bootstrap-form <https://github.com/tzangms/django-bootstrap-form>`_
11+
which is compatible with `django-jinja <https://github.com/niwibe/django-jinja>`_.
12+
13+
To install:
14+
15+
.. code-block:: shell
16+
17+
pip install django-jinja-bootstrap-form
18+
"""
19+
420
setup(
521
name='django-jinja-bootstrap-form',
622
version=str(VERSION),
7-
description="django-jinja-bootstrap-form",
23+
description='django-jinja-bootstrap-form',
24+
long_description=description,
825
classifiers=[
926
"Programming Language :: Python",
1027
"Topic :: Software Development :: Libraries :: Python Modules",
@@ -22,8 +39,8 @@
2239
url='https://github.com/samuelcolvin/django-jinja-bootstrap-form',
2340
license='BSD',
2441
install_requires=[
25-
"django>=1.4",
26-
"django-jinja>=1.0.3",
42+
"django>=1.6",
43+
"django-jinja>=1.3.3",
2744
],
2845
packages=find_packages(),
2946
include_package_data=True,

0 commit comments

Comments
 (0)