Login or Signup

← Back to Task List

Unassigned
State: accepted
Creator: vkha
Created: May 1, 2009
Modified: 6mn, 2wk ago
History of this Task
Nudges: 0

#198: respect "next" parameter during a language change in Django way

Hi,

currently Django respects "next" parameter (see its i18n.py) like following:

next = request.REQUEST.get('next', None) if not next: next = request.META.get('HTTP_REFERER', None) if not next: next = '/' response = http.HttpResponseRedirect(next)

could Pinax do the same? it would allow the redirection to a language specific content, when it is needed.

I would be happy not to apply this patch every time I get a new Pinax version :)

regards, Valery.

Status: none

Comment

Please Login (or Sign Up) to leave a comment