diff accounts/urls.py @ 1032:e932f2ecd4a7

Django 1.8 warnings / tech debt cleanup.
author Brian Neal <bgneal@gmail.com>
date Sat, 26 Dec 2015 15:10:55 -0600
parents 5ba2508939f7
children d613d25a021e
line wrap: on
line diff
--- a/accounts/urls.py	Sun Dec 20 22:18:59 2015 -0600
+++ b/accounts/urls.py	Sat Dec 26 15:10:55 2015 -0600
@@ -29,7 +29,8 @@
     url(r'^password/$',
         auth_views.password_change,
         {'template_name': 'accounts/password_change.html',
-         'post_change_redirect': settings.LOGIN_REDIRECT_URL}),
+         'post_change_redirect': settings.LOGIN_REDIRECT_URL},
+        name='accounts-password_change'),
     url(r'^password/reset/$',
         auth_views.password_reset,
         kwargs={'template_name': 'accounts/password_reset.html',