zq-django-util
is a tool sets for build django-drf applications, which contains:
- Standard exception and response handler
- JWT and Wechat authentication
- Aliyun OSS Storage and upload directly in client
- Default pagination class
- Test ViewSet
Docs: zq-django-util.readthedocs.io
- Python 3.8+
- Django 3.2+
- Django REST framework 3.12+
We highly recommend using the latest version. The test version we currently use is Python 3.10, Django 4.1, and DRF 3.14.
- Install
zq-django-util
package
Install using pip
:
pip install zq-django-util
Install using poetry
:
poetry add zq-django-util
We use Poetry and Pytest to build our project.