Introducing Twitter Bootsrap to Django!
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.
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.
Thanks to Travis Swicegood (django-staticfiles-jquery) and Ash Christopher (django-bootstrap-static-files) for the inpiration.