Project

General

Profile

Development #7518

Rewrite password reset views as CBV, remove intermediate notification views use the messages framework instead, add tests

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

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

0%

Patch proposed:
No
Planning:
No

Associated revisions

Revision 9f06b293 (diff)
Added by Benjamin Dauvergne about 4 years ago

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.

Revision 91c4ddb2 (diff)
Added by Benjamin Dauvergne about 4 years ago

cbv: add NextURLViewMixin (#7518)

It's a helper mixin to make views returning to their referrer or a next
URL parameter.

Revision 1047742f (diff)
Added by Benjamin Dauvergne about 4 years ago

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.

Revision 329ea49d (diff)
Added by Benjamin Dauvergne about 4 years ago

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().

Revision 963b733a (diff)
Added by Benjamin Dauvergne about 4 years ago

tests: add a PasswordResetTest (#7518)

History

#1 Updated by Benjamin Dauvergne about 4 years ago

  • 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