django-handy-helpers
| Author | David Slusser | |
| Description | A collection of handy utilities to support django projects | |
| Requirements | Python 3.xDjango 2.2.x |
Documentation
Full documentation can be found on http://django-handyhelpers.readthedocs.org. Documentation source files are available in the docs folder.
How to Install
The django-userextensions package is available on Python Package Index (PyPI) and can be installed via pip:
pip install django-handyhelpers
add 'handyhelpers' to your INSTALLED_APPS (for management commands and templates)
INSTALLED_APPS = [
...
'handyhelpers',
]
Management Commands
DRF Generator
Django-handyhelpers includes manage.py commands to generate DRF files (api views, serializers, urls) for a given app in your project. This is done using jinja templates that define the structure of each file. Default templates are provided, and custom templates can be provided in the command. By default, all models and models fields are included.
Example command:
manage.py generate_drf <my_app> --serializer
manage.py generate_drf <my_app> --serializer --serializer_template <my_custom_template>
** use the --help parameter for a full list of options
manage.py generate_drf --help
Admin Generator
Included with django-handyhelpers are manage.py commands to auto-generate an admin.py file for a given application in your project. This is done using a jinja template that defines the structure of the admin.py file. A default template is provided.
Example command:
manage.py generate_admin <my_app>
manage.py generate_admin <my_app> --template <my_custom_template>
** use the --help parameter for a full list of options
manage.py generate-admin --help
Mixins
FilterByQueryParamsMixin
Allows your list views to be filtered by query parameters.
InvalidLookupMixin
Returns an applicable error, instead of results based on an unfiltered queryset, if a provided lookup expression, filter, or model field is invalid.
Metadata
Release files for django-handyhelpers 0.3.42
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| django_handyhelpers-0.3.42.tar.gz | 48.3 MB | Without provenance | Details for django_handyhelpers-0.3.42.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| django_handyhelpers-0.3.42-py3-none-any.whl | Python 3 | none | any | Details for django_handyhelpers-0.3.42-py3-none-any.whl |
Total release size: 100.1 MB
Release files / django_handyhelpers-0.3.42.tar.gz
| Download URL | django_handyhelpers-0.3.42.tar.gz |
|---|---|
| Size | 48.3 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
50a88dfaec729cce20d460c7e127e476d65cb44edf4cfde40314c12bf23d304b
|
|
BLAKE2b-256 checksum How to use checksums |
d64fa561fdac2f06303d8b217d693e83e901b2032b97821db5df1f5c1177ba3c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.7
|
Release files / django_handyhelpers-0.3.42-py3-none-any.whl
| Download URL | django_handyhelpers-0.3.42-py3-none-any.whl |
|---|---|
| Size | 51.9 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f781eb13ce4e31202c889c566adff898bc4162591adef06de53eeb57f5b4de68
|
|
BLAKE2b-256 checksum How to use checksums |
9677a2a93407c5033053765e8a8443a45cdbd71283d36731c65c6c8ab6a200d6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.7
|
Security for django-handyhelpers 0.3.42
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.