mirror of
https://github.com/django/django.git
synced 2024-12-26 11:06:07 +00:00
6819be1ea1
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15032 bcc190cf-cafb-0310-a4f2-bffc1f526a37
18 lines
949 B
Python
18 lines
949 B
Python
# These URLs are normally mapped to /admin/urls.py. This URLs file is
|
|
# provided as a convenience to those who want to deploy these URLs elsewhere.
|
|
# This file is also used to provide a reliable view deployment for test purposes.
|
|
|
|
from django.conf.urls.defaults import *
|
|
|
|
urlpatterns = patterns('',
|
|
(r'^login/$', 'django.contrib.auth.views.login'),
|
|
(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]{1,13})-(?P<token>[0-9A-Za-z]{1,13}-[0-9A-Za-z]{1,20})/$', 'django.contrib.auth.views.password_reset_confirm'),
|
|
(r'^reset/done/$', 'django.contrib.auth.views.password_reset_complete'),
|
|
)
|
|
|