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:
parent
bd12310427
commit
5a235050b6
|
@ -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)),
|
||||||
)
|
)
|
||||||
|
|
|
@ -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)),
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue