www/py-django-annoying 0.10.8_2 FreeBSD
Eliminate annoying things in the Django framework
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- BSD3CLAUSE
- Categories
- www, python
- Package size
- 18.2 KiB, 67.8 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
| System | Port | Version |
|---|---|---|
| FreeBSD | www/py-django-annoying | 0.10.8_2 |
| DragonFly | www/py-django-annoying | 0.10.7 |
| HardenedBSD | www/py-django-annoying | 0.10.8_2 |
| GhostBSD | www/py-django-annoying | 0.10.8_2 |
Install
Binary package:
pkg install py312-django-annoying
From the ports tree:
cd /usr/ports/www/py-django-annoying/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= py312-django-annoying>0:www/py-django-annoying
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 0.10.8_2 | 0.10.8_2 | 0.10.6_1 | 0.10.7 | 0.10.8_2 |
| FreeBSD:14:quarterly | 0.10.8_2 | 0.10.8_2 | n/a | 0.10.7 | 0.10.8_2 |
| FreeBSD:15:latest | 0.10.8_2 | 0.10.8_2 | n/a | 0.10.7 | 0.10.7 |
| FreeBSD:15:quarterly | 0.10.8_2 | 0.10.8_2 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.10.8_2 | 0.10.8_2 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 2
${PYTHON_PKGNAMEPREFIX}setuptools>=0: devel/py-setuptools${PYTHON_PKGNAMEPREFIX}wheel>=0: devel/py-wheel
Runtime 1
${PYTHON_PKGNAMEPREFIX}django52>=1.11: www/py-django52
The full lists below include those, and their dependencies in turn.
Build dependencies 16
Run dependencies 18
No port depends on this one.
Configuration
No options to configure.
- USES
- python
- Service scripts
- none
Files
distinfo 2
| File | Size | SHA256 |
|---|---|---|
| django_annoying-0.10.8.tar.gz | 11723 | 4166b55eff3f1296a64c12ee0e5cfe71a5aa4b81c2788c72529478c370ad8550 |
| d1434314175dc8f7211ba525c5da6435b8d405c3.patch | 2431 | b1eb6ae8bb3ff0e1056da2315861fbdb464d386d570601f526862bdb6d30c393 |
Master sites 1
- PYPI
Commit history 0
No commits in the history this site was built from.