Development #7518
Rewrite password reset views as CBV, remove intermediate notification views use the messages framework instead, add tests
Début:
10 juin 2015
Echéance:
% réalisé:
0%
Temps estimé:
Patch proposed:
Non
Planning:
Révisions associées
cbv: add NextURLViewMixin (#7518)
It's a helper mixin to make views returning to their referrer or a next
URL parameter.
profile_views: rewrite password reset views as a cbv (#7518)
Also login the user after reset and keep around the next URL parameter
during the full workflow.
utils: in make_url() do not encode slash characters in query string values (#7518)
The urlencode() template filter in templates has the same setting,
it's easier for testing presence of URL in templates to use the same setting
in make_url().
tests: add a PasswordResetTest (#7518)
Historique
Mis à jour par Benjamin Dauvergne il y a presque 9 ans
- Statut changé de Nouveau à Résolu (à déployer)
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é
utils: add a status parameter to redirect() (#7518)
Default value is 302, use 303 for redirecting POST. Permanent parameter
is still there and forces status=301.