Bug #6952
Fix wrong next parameter building in admin login and logout override since Django 1.6 or 1.7
Début:
15 avril 2015
Echéance:
% réalisé:
100%
Temps estimé:
Patch proposed:
Non
Planning:
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.
Révisions associées
Historique
Mis à jour par Benjamin Dauvergne il y a environ 9 ans
- Statut changé de Nouveau à Résolu (à déployer)
- % réalisé changé de 0 à 100
Appliqué par commit 018289567a12e1ba88b44a87e5099c1ee8d7b668.
Mis à jour par Benjamin Dauvergne il y a environ 8 ans
- Statut changé de Résolu (à déployer) à Solution déployée
Mis à jour par Benjamin Dauvergne il y a plus de 6 ans
- Statut changé de Solution déployée à Fermé
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().