Bug #6952
Fix wrong next parameter building in admin login and logout override since Django 1.6 or 1.7
Start date:
15 Apr 2015
Due date:
% Done:
100%
Estimated time:
Patch proposed:
No
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.
Associated revisions
History
Updated by Benjamin Dauvergne almost 6 years ago
- Status changed from Nouveau to Résolu (à déployer)
- % Done changed from 0 to 100
Appliqué par commit 018289567a12e1ba88b44a87e5099c1ee8d7b668.
Updated by Benjamin Dauvergne about 5 years ago
- Status changed from Résolu (à déployer) to Solution déployée
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().