This is django application that try to eliminate annoying things in Django framework.
Project description
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 decoratro - 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
Installation instruction:
Copy annoying directory to your django project or put in on PYTHONPATH
Also you can run sudo python setup.py install or sudo easy_install django-annoying
Download:
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file django-annoying-0.7.3.tar.gz
.
File metadata
- Download URL: django-annoying-0.7.3.tar.gz
- Upload date:
- Size: 4.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 861f1fa886136ff1109698d107d2bc2f6bb1ff0df1709183b18e257922af5605 |
|
MD5 | 2a43135cf01e3c2881dd77bd5b21b99d |
|
BLAKE2b-256 | 6dab28fba80e35ef3a158eb61898db996373e3e7ced1490e44a8fe5b2248000b |