Skip to main content

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.

  • get_object_or_None function - similar to get_object_or_404, but returns None if object not found.

  • 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.

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-annoying-0.5.1.tar.gz (3.7 kB view details)

Uploaded Source

File details

Details for the file django-annoying-0.5.1.tar.gz.

File metadata

File hashes

Hashes for django-annoying-0.5.1.tar.gz
Algorithm Hash digest
SHA256 bb3598c68c0cb212ab5de49a3eab69bda861f96f629eab72a1bd0dc18ecad8cd
MD5 0a5458f9414df8cc0d65d236a9d0570b
BLAKE2b-256 4718e7a58a016817c0e59ad3a5f351cf22e72cdcb639076f81a9b87ffc37d4b6

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page