From 12118a61612aead74acb3aaef897d3b353ca3f5e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20P=C3=A9pin?= Date: Thu, 9 Jun 2016 01:17:54 +0200 Subject: [PATCH] Fixe la vue de changement de mot de passe MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- cof/urls.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cof/urls.py b/cof/urls.py index e841ee02..3a7680d6 100644 --- a/cof/urls.py +++ b/cof/urls.py @@ -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'),