From 64f5ab67a57f7373cee2cc675ae03d74e878b645 Mon Sep 17 00:00:00 2001 From: Luke Plant Date: Fri, 1 Aug 2008 16:18:24 +0000 Subject: [PATCH] Changed some URL conf regexes to rawstrings for consistency git-svn-id: http://code.djangoproject.com/svn/django/trunk@8172 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- django/contrib/auth/urls.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/django/contrib/auth/urls.py b/django/contrib/auth/urls.py index 30f92b42c2..72052c3795 100644 --- a/django/contrib/auth/urls.py +++ b/django/contrib/auth/urls.py @@ -5,12 +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'), - ('^password_reset/done/$', 'django.contrib.auth.views.password_reset_done'), - ('^reset/(?P[0-9A-Za-z]+)-(?P.+)/$', 'django.contrib.auth.views.password_reset_confirm'), - ('^reset/done/$', 'django.contrib.auth.views.password_reset_complete'), + (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[0-9A-Za-z]+)-(?P.+)/$', 'django.contrib.auth.views.password_reset_confirm'), + (r'^reset/done/$', 'django.contrib.auth.views.password_reset_complete'), )