www/py-django-annoying 0.10.7 DragonFly
Eliminate annoying things in the Django framework
- System
- DragonFly
- Repository
- DPorts
- Maintainer
- [email protected] (as in FreeBSD)
- License
- BSD3CLAUSE
- Categories
- python, www
- Package size
- 16.9 KiB, 73.5 KiB installed
Description
This django application eliminates certain annoyances in the Django framework.
Features:
- render_to decorator - Reduce typing in django views.
- signals decorator - Allow using signals as decorators.
- ajax_request decorator - Returns JsonResponse with dict as content.
- autostrip decorator - Strip form text fields before validation
- get_object_or_None function - Similar to get_object_or_404, but returns None if the object is not found.
- AutoOneToOne field - Creates a related object on first call if it doesn't exist yet.
- JSONField - A field that stores a Python object as JSON and retrieves it as a Python object.
- get_config function - Get settings from django.conf if exists, return a default value otherwise.
- StaticServer middleware - Instead of configuring urls.py, just add this middleware and it will serve your static files when you are in debug mode.
- get_ object_or_this_function - Similar to get_object_or_404, but returns a default object (this) if the object is not found.
- HttpResponseReload - Reload and stay on same page from where the request was made.
In the other systems
The newest version among them is 0.10.8, as upstream numbers it.
| System | Port | Version | Vulnerabilities | Status | Maintainer | Last update |
|---|---|---|---|---|---|---|
| DragonFly | www/py-django-annoying | 0.10.7 | none known | - | [email protected] | - |
| FreeBSD | www/py-django-annoying | 0.10.8_2 newest | none known | - | [email protected] | - |
| HardenedBSD | www/py-django-annoying | 0.10.8_2 newest | no data | - | [email protected] | - |
| GhostBSD | www/py-django-annoying | 0.10.8_2 newest | no data | - | [email protected] | - |
Install
Binary package:
pkg install py311-django-annoying
From DPorts:
cd /usr/dports/www/py-django-annoying && make install clean
Dependency graph
Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.
Dependencies
Run dependencies 3
No port depends on this one.