Bootstrap static content wrapped in a pip installable django package
Latest commit b7cffad Feb 7, 2017 @dstegelman committed on GitHub Merge pull request #29 from bittner/feature/add-latest-version-pypi-b…

Add latest version badge for PyPI package (README)
Failed to load latest commit information.


Django Bootstrap Static Files Latest version on PyPI

Bootstrap 3.3.7 jQuery 3.1.1 Font Awesome 4.7.0

Bootstrap and optional Font Awesome static files ready for the picking.

Also ships the latest jQuery compatible with Bootstrap, for optional inclusion.


pip install django-bootstrap-static


To pickup Bootstrap static files, simply include 'bootstrap', and optionally 'fontawesome', in your INSTALLED_APPS:

    # ...

Then you can include CSS and JavaScript as usual static resources, e.g. using {% static '...' %} in your base template as follows:

{% load static %}
    <link rel="stylesheet" href="{% static 'bootstrap/css/bootstrap.min.css' %}">
    <link rel="stylesheet" href="{% static 'fontawesome/css/font-awesome.min.css' %}">
    <script src="{% static 'bootstrap/js/jquery.min.js' %}"></script>
    <script src="{% static 'bootstrap/js/bootstrap.min.js' %}"></script>

More details on integration may be available from each of the two projects:


Occasionally, I forget to update this package with new bootstrap updates. Please feel free to submit a PR.

Sources and Procedures

Bootstrap: (all files from dist package)
Bootstrap website / Getting started -> drop into bootstrap/static/bootstrap/
jQuery: (compressed, uncompressed, map)

jQuery website / Download -> rename and mix into bootstrap/static/bootstrap/js/

Pick the latest version denoted as a dependency in bower.json (see Plugin dependencies).

Font Awesome: (css/, fonts/ only)
Font Awesome website ("No thanks, just download") -> drop into fontawesome/static/fontawesome/


To keep with the Bootstrap release schedule we will keep version numbers of this app in sync with the bootstrap Major.Minor.Revision changes (semver). The additional version number will be added at the end to denote a new change within this package itself.

django-bootstrap-static== == Bootstrap 3.3.1 with an additional package change.