BSD Ports

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

SystemPortVersion
FreeBSDwww/py-django-annoying0.10.8_2
DragonFlywww/py-django-annoying0.10.7
HardenedBSDwww/py-django-annoying0.10.8_2
GhostBSDwww/py-django-annoying0.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.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.10.8_20.10.8_20.10.6_10.10.70.10.8_2
FreeBSD:14:quarterly0.10.8_20.10.8_2n/a0.10.70.10.8_2
FreeBSD:15:latest0.10.8_20.10.8_2n/a0.10.70.10.7
FreeBSD:15:quarterly0.10.8_20.10.8_2n/an/an/a
FreeBSD:16:latest0.10.8_20.10.8_2n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 2

Runtime 1

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
FileSizeSHA256
django_annoying-0.10.8.tar.gz117234166b55eff3f1296a64c12ee0e5cfe71a5aa4b81c2788c72529478c370ad8550
d1434314175dc8f7211ba525c5da6435b8d405c3.patch2431b1eb6ae8bb3ff0e1056da2315861fbdb464d386d570601f526862bdb6d30c393
Master sites 1
  • PYPI

Commit history 0

No commits in the history this site was built from.