django-uturn

Overriding redirects in Django, to return where you came from
Download

django-uturn Ranking & Summary

Advertisement

  • Rating:
  • License:
  • BSD License
  • Price:
  • FREE
  • Publisher Name:
  • Kevin Wetzels
  • Publisher web site:
  • https://bitbucket.org/roam/

django-uturn Tags


django-uturn Description

django-uturn is a Django app that provides the HTTP redirect flexibility of Django's login view to the rest of your views.Here's what happens when you --as an anonymous user-- try to access a view requiring you to log in:1. Django redirects you to /login?next=/page-you-wanted-to-see2. You log on3. Django's login view notices the next parameter and redirects you to /page-you-wanted-to-see rather than /.With Uturn, you'll be able to use the same feature by simply changing some template code and adding middleware or decorators to your views.Installationdjango-uturn is available on Pypi:pip install django-uturnUturn is currently tested against Django versions 1.2, 1.3 and 1.4.Product's homepage


django-uturn Related Software