Metadata-Version: 2.1
Name: django-static-jquery3
Version: 5.3.7.1
Summary: Django application contain jquery3 static files.
Author: Chen JiaYong
Author-email: chenjiayong@zencore.cn
Maintainer: Chen JiaYong
Maintainer-email: chenjiayong@zencore.cn
License: MIT
Keywords: django-static-jquery3,jquery,jquery plugins
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Description-Content-Type: text/markdown
License-File: LICENSE

# 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

```shell
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**

```python
INSTALLED_APPS = [
    ...
    "django_static_jquery3",
    ...
]
```

**app/template/app/index.html**

```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.
