Twitter Bootstrap for Django staticfiles
JavaScript Python
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
bootstrap
support
vendor
.gitignore
.gitmodules
README.rst
VERSION
setup.py

README.rst

django-staticfiles-bootstrap

Introducing Twitter Bootsrap to Django!

Usage

This application is meant to be used with django-staticfiles which is now part of Django (since 1.3) as django.contrib.staticfiles. Make sure that staticfiles is properly setup and configured, then install this application using pip:

pip install django-staticfiles-bootstrap

Finally, make sure that bootstrap is listed in your INSTALLED_APPS. You can use this oneliner to add it as well:

INSTALLED_APPS += ['bootstrap', ]

The less and original (non-concatenated) JavaScript files are included along with the compressed CSS files and concatenated and compressed JavaScript files.

Build

To build this, you need to have the jshint, recess and uglify-js installed via npm. See support/build.py for more information on how data is transferred from the submodule to the Python package.

Credits

Thanks to Travis Swicegood (django-staticfiles-jquery) and Ash Christopher (django-bootstrap-static-files) for the inpiration.