Skip to content

nduthoit/django-staticfiles-bootstrap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Twitter Bootstrap for Django staticfiles

Resources

Stars

Watchers

Forks

Packages

No packages published