Toolbox with general functions and models to avoid repetition.
Project description
Helpers
Requirements
- Python
- Django
- Django Rest Framework
- DRF spectacular ("https://pypi.org/project/drf-spectacular/")
Installation
$ pip install tonicapp-helpers
Add the application to your project's INSTALLED_APPS
in settings.py
.
INSTALLED_APPS = [
...
'helpers',
]
Source
https://pypi.org/project/tonicapp-helpers/
Update Library
python3 setup.py sdist
python3 -m twine upload dist/*
Enter your username: ******
Enter your password: ******
Version updates
From v1.0 to v2.0 the support to drf_spectacular library was removed (the file schema_parameters was removed).
V2.2.0
Support for views with two different routes. (This should be depecrated in the future) Support for personalized serializers in requests.
V2.2.1
Bugfix in permissions when user_id or id not exist
V2.3.1
Change logger.info to logger.debug in middleware locale.
V2.4.1
Add CUSTOM_WEB_TOKEN to authentication and IsCustomUserPermission to permissions.
V2.4.2
Bugfix the prefix match
V2.4.4
Bugfix the authentication
V2.5.4
Support to duplications in locale and software type middleware
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.