Kaydet (Commit) 5a235050 authored tarafından Russell Keith-Magee's avatar Russell Keith-Magee

Fixed #12367 -- Modified test urls to avoid the DeprecationWarning caused by…

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
üst bd123104
......@@ -3,5 +3,5 @@ from django.conf.urls.defaults import *
import widgetadmin
urlpatterns = patterns('',
(r'^deep/down/admin/(.*)', widgetadmin.site.root),
(r'^deep/down/admin/', include(widgetadmin.site.urls)),
)
......@@ -2,5 +2,5 @@ from django.conf.urls.defaults import *
from django.contrib import admin
urlpatterns = patterns('',
(r'^admin/(.*)', admin.site.root),
(r'^admin/', include(admin.site.urls)),
)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment