Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 8 additions & 5 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,19 +12,22 @@ relate to.
How
---

Clone the repo and copy the folder of templates that you want to use to your current project's template folder, renaming it to
``uni_form``.::
Install:::

cp -r django-uni-form-contrib/twitter-bootstrap <my project>/templates/uni_form
pip install -e git://github.com/bmihelac/django-uni-form-contrib.git@make-django-app#egg=uni_form_contrib

Oh, you probably won't want to include ``django-uni-form``'s media, either, so take it out of your templates.
Add ``uni_form_contrib.twitter_bootstrap`` application to ``INSTALLED_APPS`` in
settings.py **before** ``uni_form`` so django will pick this templates instead
of default ``uni_form`` templates.

Who
---

Current contributors are:

* `Kenneth Love <https://github.com/kennethlove>`_.
* `Kenneth Love <https://github.com/kennethlove>`_

* `Bojan Mihelac <https://github.com/bmihelac>`_

License
-------
Expand Down
14 changes: 14 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
from setuptools import setup, find_packages
import os


setup(
name="django-uni-form-contrib",
description="Contributed templates for django-uni-form library",
long_description=open(os.path.join(os.path.dirname(__file__),
'README.rst')).read(),
version="0.0.1",
author="Kenneth Love",
packages=find_packages(),
)

6 changes: 0 additions & 6 deletions templates/twitter-bootstrap/includes.html

This file was deleted.

Empty file added uni_form_contrib/__init__.py
Empty file.
Empty file.
Empty file.
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{% comment %}
This is used by the 'uni_form_setup' template tag to identify where to grab media files.
{% endcomment %}