Commits

Anonymous committed b945bce

custom templates for password reset

Comments (0)

Files changed (1)

registration/auth_urls.py

                            name='auth_password_change_done'),
                        url(r'^password/reset/$',
                            auth_views.password_reset,
+                           {'template_name': 'registration/password_reset.html'},
                            name='auth_password_reset'),
                        url(r'^password/reset/confirm/(?P<uidb36>[0-9A-Za-z]+)-(?P<token>.+)/$',
                            auth_views.password_reset_confirm,
+                           {'template_name': 'registration/password_reset_confirm.html'},
                            name='auth_password_reset_confirm'),
                        url(r'^password/reset/complete/$',
                            auth_views.password_reset_complete,
+                           {'template_name': 'registration/password_reset_complete.html'},
                            name='auth_password_reset_complete'),
                        url(r'^password/reset/done/$',
                            auth_views.password_reset_done,
+                           {'template_name': 'registration/password_reset_done.html'},
                            name='auth_password_reset_done'),
 )