Skip to main content

django-static-bootstrap

Django application contain bootstrap static files.

Install

pip install django-static-bootstrap

Settings

INSTALLED_APPS = [
    ...
    'django_static_bootstrap',
    ...
]

Use static resource

{% load staticfiles %}

<link rel="stylesheet" href="{% static "bootstrap/css/bootstrap.min.css" %}">
<script src="{% static "admin/js/vendor/jquery/jquery.js" %}"></script>
<script src="{% static "bootstrap/js/bootstrap.min.js" %}"></script>
  • You can use django's jquery.js, but be careful about django's jquery.init.js. bootstrap/js/bootstrap.min.js must be loaded after jquery.js and before jquery.init.js.
  • If you are not using django framework, you can try django-static-jquery3>=5.0.0 to get jquery.js.

About releases

The first three number is the same with bootstrap project's version. The fourth number is our release number, it's optional.

Releases

v3.3.7.1 2018/03/27

  • First release.

v4.4.1 2020/02/27

  • Upgrade the resources to version 4.4.1.

v4.4.1.2 2020/09/08

  • No depends on django.

v4.4.1.4 2023/09/15

  • Doc update.

v4.6.2.1 2023/09/16

  • Upgrade to bootstrap v4.6.2.

v4.6.2.2 2025/10/21

  • Doc update.

Metadata

Release files for django-static-bootstrap 4.6.2.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-static-bootstrap 4.6.2.2
File Size Uploaded
django_static_bootstrap-4.6.2.2.tar.gz 740.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for django-static-bootstrap 4.6.2.2
File Interpreter ABI Platform
django_static_bootstrap-4.6.2.2-py3-none-any.whl Python 3 none any Details

Total release size: 1.5 MB

Release files / django_static_bootstrap-4.6.2.2.tar.gz

Download URL django_static_bootstrap-4.6.2.2.tar.gz
Size 740.6 kB
Tags Source
SHA-256 checksum
How to use checksums
90afb2c1e3435ca8fbc326bc0c4f518b8dcc02964d56dab7af80e5ebfb66915a
BLAKE2b-256 checksum
How to use checksums
119da127722f21aafbf6552e4740bd9602949fb8c0cb6332a878c16adf37f3cc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.12

Release files / django_static_bootstrap-4.6.2.2-py3-none-any.whl

Download URL django_static_bootstrap-4.6.2.2-py3-none-any.whl
Size 755.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6e584c62205c57d94fb7a561d878b0d9507d3624f86f348d59cce19dff55cbcc
BLAKE2b-256 checksum
How to use checksums
36066eaa530234df275899fd15e50ac6faf19b54592fdfd20028588da6c48a3a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.12

Release history Release notifications | RSS feed

This release

4.6.2.2 This release

2 release files

3.3.7.1

1 release 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