# django-static-bootstrap
Django application contain bootstrap static files.
## Install
```shell
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.
Raw data
{
"_id": null,
"home_page": null,
"name": "django-static-bootstrap",
"maintainer": "rRR0VrFP",
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": "django-static-bootstrap",
"author": "rRR0VrFP",
"author_email": null,
"download_url": "https://files.pythonhosted.org/packages/11/9d/a127722f21aafbf6552e4740bd9602949fb8c0cb6332a878c16adf37f3cc/django_static_bootstrap-4.6.2.2.tar.gz",
"platform": null,
"description": "# django-static-bootstrap\n\n\nDjango application contain bootstrap static files.\n\n\n## Install\n\n```shell\npip install django-static-bootstrap\n```\n\n## Settings\n\n```\nINSTALLED_APPS = [\n ...\n 'django_static_bootstrap',\n ...\n]\n```\n\n## Use static resource\n\n```\n{% load staticfiles %}\n\n<link rel=\"stylesheet\" href=\"{% static \"bootstrap/css/bootstrap.min.css\" %}\">\n<script src=\"{% static \"admin/js/vendor/jquery/jquery.js\" %}\"></script>\n<script src=\"{% static \"bootstrap/js/bootstrap.min.js\" %}\"></script>\n```\n\n- 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.\n- If you are not using django framework, you can try django-static-jquery3>=5.0.0 to get jquery.js.\n\n## About releases\n\nThe first three number is the same with bootstrap project's version.\nThe fourth number is our release number, it's optional.\n\n## Releases\n\n### v3.3.7.1 2018/03/27\n\n- First release.\n\n### v4.4.1 2020/02/27\n\n- Upgrade the resources to version 4.4.1.\n\n### v4.4.1.2 2020/09/08\n\n- No depends on django.\n\n### v4.4.1.4 2023/09/15\n\n- Doc update.\n\n### v4.6.2.1 2023/09/16\n\n- Upgrade to bootstrap v4.6.2.\n\n### v4.6.2.2 2025/10/21\n\n- Doc update.\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Django application contain bootstrap static files.",
"version": "4.6.2.2",
"project_urls": null,
"split_keywords": [
"django-static-bootstrap"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "36066eaa530234df275899fd15e50ac6faf19b54592fdfd20028588da6c48a3a",
"md5": "cfaaf31fa9cbc6882c37b9ba641d01cd",
"sha256": "6e584c62205c57d94fb7a561d878b0d9507d3624f86f348d59cce19dff55cbcc"
},
"downloads": -1,
"filename": "django_static_bootstrap-4.6.2.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "cfaaf31fa9cbc6882c37b9ba641d01cd",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 755708,
"upload_time": "2025-10-21T13:21:25",
"upload_time_iso_8601": "2025-10-21T13:21:25.509343Z",
"url": "https://files.pythonhosted.org/packages/36/06/6eaa530234df275899fd15e50ac6faf19b54592fdfd20028588da6c48a3a/django_static_bootstrap-4.6.2.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "119da127722f21aafbf6552e4740bd9602949fb8c0cb6332a878c16adf37f3cc",
"md5": "acc6234a47736b90e4c05d20024178df",
"sha256": "90afb2c1e3435ca8fbc326bc0c4f518b8dcc02964d56dab7af80e5ebfb66915a"
},
"downloads": -1,
"filename": "django_static_bootstrap-4.6.2.2.tar.gz",
"has_sig": false,
"md5_digest": "acc6234a47736b90e4c05d20024178df",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 740593,
"upload_time": "2025-10-21T13:21:27",
"upload_time_iso_8601": "2025-10-21T13:21:27.400150Z",
"url": "https://files.pythonhosted.org/packages/11/9d/a127722f21aafbf6552e4740bd9602949fb8c0cb6332a878c16adf37f3cc/django_static_bootstrap-4.6.2.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-10-21 13:21:27",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "django-static-bootstrap"
}