# 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.
Raw data
{
"_id": null,
"home_page": "",
"name": "django-static-bootstrap",
"maintainer": "Cheng JiaYi",
"docs_url": null,
"requires_python": "",
"maintainer_email": "chengjiayi@zencore.cn",
"keywords": "django-static-bootstrap",
"author": "Cheng JiaYi",
"author_email": "chengjiayi@zencore.cn",
"download_url": "https://files.pythonhosted.org/packages/71/82/be2d6f9101b9b5ce4cc089240e2d2de0868409a7bc2e7d6d3e46e8e9ec33/django-static-bootstrap-4.6.2.1.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",
"bugtrack_url": null,
"license": "MIT",
"summary": "Django application contain bootstrap static files.",
"version": "4.6.2.1",
"project_urls": null,
"split_keywords": [
"django-static-bootstrap"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "96b76c02e33495762acc7ba14f725d765a72eb7f7af1b8a57ba5dae65c0bb5f9",
"md5": "62bb598c7081e1df313f4cae30aabf5a",
"sha256": "fe00573bdcbe1d16dbf1e66ed8fc278acb19a016ee534d50c391be56bf1fd5c7"
},
"downloads": -1,
"filename": "django_static_bootstrap-4.6.2.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "62bb598c7081e1df313f4cae30aabf5a",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 755646,
"upload_time": "2023-09-16T01:16:19",
"upload_time_iso_8601": "2023-09-16T01:16:19.219649Z",
"url": "https://files.pythonhosted.org/packages/96/b7/6c02e33495762acc7ba14f725d765a72eb7f7af1b8a57ba5dae65c0bb5f9/django_static_bootstrap-4.6.2.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "7182be2d6f9101b9b5ce4cc089240e2d2de0868409a7bc2e7d6d3e46e8e9ec33",
"md5": "db43bdfe37368897d7975db32f73ee30",
"sha256": "481905929d544704de450b6153a949dd49d615e2e936d8882c6e496a4f9f3cd9"
},
"downloads": -1,
"filename": "django-static-bootstrap-4.6.2.1.tar.gz",
"has_sig": false,
"md5_digest": "db43bdfe37368897d7975db32f73ee30",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 740568,
"upload_time": "2023-09-16T01:16:21",
"upload_time_iso_8601": "2023-09-16T01:16:21.959410Z",
"url": "https://files.pythonhosted.org/packages/71/82/be2d6f9101b9b5ce4cc089240e2d2de0868409a7bc2e7d6d3e46e8e9ec33/django-static-bootstrap-4.6.2.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-09-16 01:16:21",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "django-static-bootstrap"
}