diff options
Diffstat (limited to 'django/contrib/auth/urls.py')
-rw-r--r-- | django/contrib/auth/urls.py | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/django/contrib/auth/urls.py b/django/contrib/auth/urls.py index 5ddfcf15e8..72052c3795 100644 --- a/django/contrib/auth/urls.py +++ b/django/contrib/auth/urls.py @@ -5,9 +5,12 @@ from django.conf.urls.defaults import * urlpatterns = patterns('', - ('^logout/$', 'django.contrib.auth.views.logout'), - ('^password_change/$', 'django.contrib.auth.views.password_change'), - ('^password_change/done/$', 'django.contrib.auth.views.password_change_done'), - ('^password_reset/$', 'django.contrib.auth.views.password_reset') + (r'^logout/$', 'django.contrib.auth.views.logout'), + (r'^password_change/$', 'django.contrib.auth.views.password_change'), + (r'^password_change/done/$', 'django.contrib.auth.views.password_change_done'), + (r'^password_reset/$', 'django.contrib.auth.views.password_reset'), + (r'^password_reset/done/$', 'django.contrib.auth.views.password_reset_done'), + (r'^reset/(?P<uidb36>[0-9A-Za-z]+)-(?P<token>.+)/$', 'django.contrib.auth.views.password_reset_confirm'), + (r'^reset/done/$', 'django.contrib.auth.views.password_reset_complete'), ) |