Bug #6971
fix call to redirect() in post method of the registration completion view
Début:
16 avril 2015
Echéance:
% réalisé:
100%
Temps estimé:
Patch proposed:
Non
Planning:
Description
redirect()
must have at least one more argument after request
. The goal here is to redirect to the current page, so we use the view_name as stored in request.resolver_match.view_name
and the args
and kwargs
from the view object.
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 89dacf96edd9ac34a39a5d9dd31b400af4da7f4c.
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é
registration: fix redirect when posting on the registration completion view and email is already used (fixes #6971)