Mercurial > public > sg101
comparison 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 |
comparison
equal
deleted
inserted
replaced
1031:e1c03da72818 | 1032:e932f2ecd4a7 |
---|---|
27 kwargs={'template_name': 'accounts/logout.html'}, | 27 kwargs={'template_name': 'accounts/logout.html'}, |
28 name='accounts-logout'), | 28 name='accounts-logout'), |
29 url(r'^password/$', | 29 url(r'^password/$', |
30 auth_views.password_change, | 30 auth_views.password_change, |
31 {'template_name': 'accounts/password_change.html', | 31 {'template_name': 'accounts/password_change.html', |
32 'post_change_redirect': settings.LOGIN_REDIRECT_URL}), | 32 'post_change_redirect': settings.LOGIN_REDIRECT_URL}, |
33 name='accounts-password_change'), | |
33 url(r'^password/reset/$', | 34 url(r'^password/reset/$', |
34 auth_views.password_reset, | 35 auth_views.password_reset, |
35 kwargs={'template_name': 'accounts/password_reset.html', | 36 kwargs={'template_name': 'accounts/password_reset.html', |
36 'email_template_name': 'accounts/password_reset_email.txt', | 37 'email_template_name': 'accounts/password_reset_email.txt', |
37 'post_reset_redirect': '/accounts/password/reset/sent/'}, | 38 'post_reset_redirect': '/accounts/password/reset/sent/'}, |