Django application contain jquery3 static files.
Project description
django-static-jquery3
Django application contains jquery and jquery-plugins' static files.
- Mostly we use jquery plugins, for django ships with jquery already.
- We put many jquery plugins in this package, so that we will not use jquery's version from now on.
- Remove django from requirements.txt. We still keep django's file structure, but we will NOT need anything about django.
jQuery License
- All resource files of jquery are unzip from jquery-xxx.zip which download from https://github.com/jquery/jquery/ without any changes.
- All resource files of jquery obey jQuery License, see details at https://github.com/jquery/jquery/blob/main/LICENSE.txt.
- We don't guarantee the latest jQuery version.
jQuery Plugins Licenses
- Plugins may NOT a part of jquery.
- Plugins obey their own licenses.
Install
pip install django-static-jquery3
Installed Plugins
- jquery/plugins/jquery.cookie.js
- jquery/plugins/jquery.utils.js
- jquery/plugins/jquery.jstree/jstree.js
Usage
pro/settings.py
INSTALLED_APPS = [
...
"django_static_jquery3",
...
]
app/template/app/index.html
{% load static %}
<script src="{% static "jquery/jquery.js" %}"></script>
<script src="{% static "jquery/plugins/jquery.cookie.js" %}"></script>
About releases
- The first number is our release number.
- The other three numbers are the same with jquery's release version.
Releases
v5.3.7.1 2023/09/12
- Upgrade jquery to v3.7.1.
v5.1.0 2020/09/22
- Add jquery.jstree plugin.
v5.0.0 2020/09/01
- Rename jquery3 folder to jquery.
- Mostly we use jquery plugins, for django ships with jquery already.
- We put many jquery plugins in this package, so that we will not use jquery's version from now on.
- Remove django from requirements. We still keep django's file structure, but we will need anything about django.
v3.4.1.1 2020/04/23
- Add jquery plugin: jquery.cookie.
- Fix document.
v3.4.1.0 2020/04/10
- Upgrade jquery to 3.4.1.
v3.3.1.1 2018/03/27
- Upgrade jquery to 3.3.1.
v3.2.1 2017/12/23
- First release with jquery 3.2.1.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
django-static-jquery3-5.3.7.1.tar.gz
(443.2 kB
view hashes)
Built Distribution
Close
Hashes for django-static-jquery3-5.3.7.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 457e2669c06e04ace59e4bfc0757920e040373d7d1f8ef4c5881b4990982b146 |
|
MD5 | dc36c57cb8f9cb7dffd5208a8401d801 |
|
BLAKE2b-256 | 918c8f292b88525ea502e7609105d7b30188d51bd1bd217f8c07402c58ae7fdf |
Close
Hashes for django_static_jquery3-5.3.7.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d2dd7f7d128fa2f7f7ce3d80a2adb872b6abe070693a3587c65a977f308ae2c5 |
|
MD5 | 88e39f5adb82da29d195049bc21e5bc8 |
|
BLAKE2b-256 | f4cd027068169069aaaab0c4670b1fb6e279d5d54811506907703f0435e38265 |