skip to navigation
skip to content

Not Logged In

django-staticfiles-bootstrap 3.0.2

Twitter Bootstrap staticfiles for django

Latest Version: 3.0.3

Easily include twitter bootstrap in your django apps


pip install django-staticfiles-bootstrap

Make sure your django project is configured to use staticfiles, then add this to your INSTALLED_APPS

INSTALLED_APPS += [‘django-staticfiles-bootstrap’,]


You can use this in two different ways in your templates


<link href=”{{ STATIC_URL }}bootstrap/css/bootstrap.css” rel=”stylesheet”> <script src=”{{ STATIC_URL }}bootstrap/js/bootstrap.js”></script>

### static template tag

{% load static from staticfiles %} <link href=”{% static “bootstrap/css/bootstrap.min.css” %}” rel=”stylesheet”>


If you want to use the JavaScript plugins, you will need jQuery. For that, I suggest django-staticfiles-jquery.

Code prettifying requires Google code prettify. For that, I suggest django-staticfiles-google-code-prettify.

File Type Py Version Uploaded on Size
django-staticfiles-bootstrap-3.0.2.tar.gz (md5) Source 2013-11-07 191KB
  • Downloads (All Versions):
  • 10 downloads in the last day
  • 186 downloads in the last week
  • 808 downloads in the last month