Project

General

Profile

Bug #6971

fix call to redirect() in post method of the registration completion view

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

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

100%

Patch proposed:
No
Planning:
No

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.

Associated revisions

Revision 89dacf96 (diff)
Added by Benjamin Dauvergne over 4 years ago

registration: fix redirect when posting on the registration completion view and email is already used (fixes #6971)

History

#1 Updated by Benjamin Dauvergne over 4 years ago

  • % Done changed from 0 to 100
  • 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