Skip to main content

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>
...

Download files

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

Source Distribution

django-bootstrap-staticfiles-3.0.0.1.tar.gz (128.4 kB view details)

Uploaded Source

File details

Details for the file django-bootstrap-staticfiles-3.0.0.1.tar.gz.

File metadata

File hashes

Hashes for django-bootstrap-staticfiles-3.0.0.1.tar.gz
Algorithm Hash digest
SHA256 bf0a1ed5b0b3bb8ef22c6020fa50412b760bcbb3a9ab9996e705b82928907453
MD5 518a0cdab5e2b817e4d6a40e61bc8d34
BLAKE2b-256 efcf243ab60bcd16d2a409ad104ee2f3ce212efa775f37aedfc807c72e49c7d9

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

3.0.0.1 This release

1 file

3.0.0

1 file

2.3.2.2

1 file

2.3.2.1

1 file

2.3.2

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page