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:
Martin Pépin 2016-06-09 01:17:54 +02:00
parent 88cc2542a9
commit 12118a6161

View file

@ -19,7 +19,9 @@ urlpatterns = patterns('',
url(r'^outsider/login$', 'gestioncof.views.login_ext'),
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-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'^logout$', 'gestioncof.views.logout'),
url(r'^profile$', 'gestioncof.views.profile'),