app/django/contrib/auth/urls.py
changeset 323 ff1a9aa48cfd
equal deleted inserted replaced
322:6641e941ef1e 323:ff1a9aa48cfd
       
     1 # These URLs are normally mapped to /admin/urls.py. This URLs file is 
       
     2 # provided as a convenience to those who want to deploy these URLs elsewhere.
       
     3 # This file is also used to provide a reliable view deployment for test purposes.
       
     4 
       
     5 from django.conf.urls.defaults import *
       
     6 
       
     7 urlpatterns = patterns('',
       
     8     (r'^login/$', 'django.contrib.auth.views.login'),
       
     9     (r'^logout/$', 'django.contrib.auth.views.logout'),
       
    10     (r'^password_change/$', 'django.contrib.auth.views.password_change'),
       
    11     (r'^password_change/done/$', 'django.contrib.auth.views.password_change_done'),
       
    12     (r'^password_reset/$', 'django.contrib.auth.views.password_reset'),
       
    13     (r'^password_reset/done/$', 'django.contrib.auth.views.password_reset_done'),
       
    14     (r'^reset/(?P<uidb36>[0-9A-Za-z]+)-(?P<token>.+)/$', 'django.contrib.auth.views.password_reset_confirm'),
       
    15     (r'^reset/done/$', 'django.contrib.auth.views.password_reset_complete'),
       
    16 )
       
    17