django-static-bootstrap-4.4.1.2
توضیحات
Django application contain bootstrap static files.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | django-static-bootstrap-4.4.1.2 |
| نام | django-static-bootstrap |
| نسخه کتابخانه | 4.4.1.2 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | zencore |
| ایمیل نویسنده | dobetter@zencore.cn |
| آدرس صفحه اصلی | https://github.com/zencore-cn/zencore-issues |
| آدرس اینترنتی | https://pypi.org/project/django-static-bootstrap/ |
| مجوز | MIT |
# 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
### v4.4.1.2 2020/09/08
- No depends on django.
### v4.4.1 2020/02/27
- Upgrade the resources to version 4.4.1.
### v3.3.7.1 2018/03/27
- First release.
نحوه نصب
نصب پکیج whl django-static-bootstrap-4.4.1.2:
pip install django-static-bootstrap-4.4.1.2.whl
نصب پکیج tar.gz django-static-bootstrap-4.4.1.2:
pip install django-static-bootstrap-4.4.1.2.tar.gz