Project

General

Profile

Bug #6952

Fix wrong next parameter building in admin login and logout override since Django 1.6 or 1.7

Added by Benjamin Dauvergne over 4 years ago. Updated over 1 year ago.

Status:
Fermé
Priority:
Normal
Category:
-
Target version:
Start date:
15 Apr 2015
Due date:
% Done:

100%

Patch proposed:
No
Planning:
No

Description

They are real views now with their own URL so we cannot use the current URL as the next parameter, we must extract the next URL from the query string.

Associated revisions

Revision 01828956 (diff)
Added by Benjamin Dauvergne over 4 years ago

admin.py: fix wrong next parameter building in login and logout view (fixes #6952)

It's a Django 1.7 compatibility fix. It simplifies code using
utils.redirect_to_login().

History

#1 Updated by Benjamin Dauvergne over 4 years ago

  • % Done changed from 0 to 100
  • Status changed from Nouveau to Résolu (à déployer)

#2 Updated by Benjamin Dauvergne over 3 years ago

  • Status changed from Résolu (à déployer) to Solution déployée

#3 Updated by Benjamin Dauvergne over 1 year ago

  • Status changed from Solution déployée to Fermé

Also available in: Atom PDF