This is django application that try to eliminate annoying things in Django
This is django application that try to eliminate annoying things in Django framework.
Features:
- render_to decorator - reduce typing in django views;
- signals decorator - allow use signals as decorators;
- ajax_request decorator - returns JsonResponse with this dict as content;
- autostrip decorator - strip text form fields before validation;
- get_object_or_None function - similar to get_object_or_404, but returns None if object not found;
- get_config function - get settings from django.conf if exists, return default value otherwise;
- AutoOneToOne field - creates related object on first call if it doesnt exists yet;
- HttpResponseReload - reload and stay on same page from where request was made;
- StaticServer middleware - instead of configuring urls.py, just add this middleware and it will serve you static files.
Author:
--------
Anderson
- Sources inherited from project devel:languages:python:misc
-
2
derived packages
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout home:smarty12:Python/python-django-annoying && cd $_
- Create Badge
Source Files
Filename | Size | Changed |
---|---|---|
django-annoying-0.7.7.tar.bz2 | 0000007138 6.97 KB | |
python-django-annoying.changes | 0000000728 728 Bytes | |
python-django-annoying.spec | 0000002487 2.43 KB |
Latest Revision
Non-integrated tw package cleanup, batched
Comments 0