This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

A Collection of Bootstrap static files.

Project Description

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

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

Install

pip install django-bootstrap-static

Configuration

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

INSTALLED_APPS = [
    # ...
    'bootstrap',
    'fontawesome',
]

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

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

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

Contribution

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/

Releases

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==3.3.1.1 == Bootstrap 3.3.1 with an additional package change.

Release History

Release History

This version
History Node

3.3.7.1

History Node

3.3.7

History Node

3.3.6

History Node

3.3.5

History Node

3.3.4

History Node

3.3.2

History Node

3.3.1

History Node

3.1.1

History Node

2.3.2

History Node

2.3.1.1

History Node

2.3.1

History Node

2.2.2

History Node

2.2.0

History Node

2.1.0

History Node

2.0.4

History Node

2.0.3

History Node

2.0.2

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
django_bootstrap_static-3.3.7.1-py2.py3-none-any.whl (1.2 MB) Copy SHA256 Checksum SHA256 2.7 Wheel Feb 8, 2017
django-bootstrap-static-3.3.7.1.tar.gz (1.2 MB) Copy SHA256 Checksum SHA256 Source Feb 8, 2017

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting