Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Made small cleanups to two default urlconfs, to be clearer.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@413 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit c5179609847733c4babcc32312686d9fabf37315 1 parent b6a1105
Adrian Holovaty authored
2  django/conf/urls/admin.py
@@ -2,7 +2,7 @@
2 2
 from django.conf.settings import INSTALLED_APPS
3 3
 
4 4
 urlpatterns = (
5  
-    ('^/?$', 'django.views.admin.main.index'),
  5
+    ('^$', 'django.views.admin.main.index'),
6 6
     ('^logout/$', 'django.views.auth.login.logout'),
7 7
     ('^password_change/$', 'django.views.registration.passwords.password_change'),
8 8
     ('^password_change/done/$', 'django.views.registration.passwords.password_change_done'),
2  django/conf/urls/admin_password_reset.py
... ...
@@ -1,6 +1,6 @@
1 1
 from django.conf.urls.defaults import *
2 2
 
3 3
 urlpatterns = patterns('django.views',
4  
-    (r'^/?$', 'registration.passwords.password_reset', {'is_admin_site' : True}),
  4
+    (r'^$', 'registration.passwords.password_reset', {'is_admin_site' : True}),
5 5
     (r'^done/$', 'registration.passwords.password_reset_done'),
6 6
 )

0 notes on commit c517960

Please sign in to comment.
Something went wrong with that request. Please try again.