Fixe la vue de changement de mot de passe
La vue par défaut cherchait l'url `password_change_done`. Ce fix créer un alias `password_change_done` qui pointe vers la bonne vue.
This commit is contained in:
parent
88cc2542a9
commit
12118a6161
1 changed files with 3 additions and 1 deletions
|
@ -19,7 +19,9 @@ urlpatterns = patterns('',
|
||||||
url(r'^outsider/login$', 'gestioncof.views.login_ext'),
|
url(r'^outsider/login$', 'gestioncof.views.login_ext'),
|
||||||
url(r'^outsider/logout$', 'django.contrib.auth.views.logout', {'next_page': '/gestion/'}),
|
url(r'^outsider/logout$', 'django.contrib.auth.views.logout', {'next_page': '/gestion/'}),
|
||||||
url(r'^outsider/password-change$', 'django.contrib.auth.views.password_change'),
|
url(r'^outsider/password-change$', 'django.contrib.auth.views.password_change'),
|
||||||
url(r'^outsider/password-change-done$', 'django.contrib.auth.views.password_change_done'),
|
url(r'^outsider/password-change-done$',
|
||||||
|
'django.contrib.auth.views.password_change_done',
|
||||||
|
name='password_change_done'),
|
||||||
url(r'^login$', 'gestioncof.views.login'),
|
url(r'^login$', 'gestioncof.views.login'),
|
||||||
url(r'^logout$', 'gestioncof.views.logout'),
|
url(r'^logout$', 'gestioncof.views.logout'),
|
||||||
url(r'^profile$', 'gestioncof.views.profile'),
|
url(r'^profile$', 'gestioncof.views.profile'),
|
||||||
|
|
Loading…
Reference in a new issue