Fixed #12367 -- Modified test urls to avoid the DeprecationWarning caused by old-style admin inclusions. Thanks to Travis Cline for the patch.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@11861 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Russell Keith-Magee 2009-12-14 11:19:40 +00:00
parent bd12310427
commit 5a235050b6
2 changed files with 2 additions and 2 deletions

View File

@ -3,5 +3,5 @@ from django.conf.urls.defaults import *
import widgetadmin import widgetadmin
urlpatterns = patterns('', urlpatterns = patterns('',
(r'^deep/down/admin/(.*)', widgetadmin.site.root), (r'^deep/down/admin/', include(widgetadmin.site.urls)),
) )

View File

@ -2,5 +2,5 @@ from django.conf.urls.defaults import *
from django.contrib import admin from django.contrib import admin
urlpatterns = patterns('', urlpatterns = patterns('',
(r'^admin/(.*)', admin.site.root), (r'^admin/', include(admin.site.urls)),
) )