Skip to main content
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!

Django app that provides compiled Bootstrap assets

Project Description

This package provides a Django app whose static folder contains the compiled assets of Bootstrap.

Each Bootstrap version will be tagged accordingly.

Setup

  1. Install the app:

    pip install django-bootstrap-staticfiles
    
  2. Inlude it in your Django project:

    # settings.py:
    
    INSTALLED_APPS = (
        ...
        'django_bootstrap_staticfiles',
        ...
    )
    
  3. Make sure django.contrib.staticfiles.finders.AppDirectoriesFinder is in your list of STATICFILES_FINDERS.

Usage

If you’re not using an asset manager, you can just include them as usual in your site templates.:

{% load staticfiles %}
...
<script type="text/javascript" src="{% static 'js/bootstrap.min.js' %}"></script>
...

Release History

This version
History Node

3.0.0.1

History Node

3.0.0

History Node

2.3.2.2

History Node

2.3.2.1

History Node

2.3.2

Download Files

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

Filename, Size & Hash SHA256 Hash Help File Type Python Version Upload Date
django-bootstrap-staticfiles-3.0.0.1.tar.gz
(128.4 kB) Copy SHA256 Hash SHA256
Source None Aug 28, 2013

Supported By

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 Google Google Cloud Servers DreamHost DreamHost Log Hosting