Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

…used 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
  • Loading branch information...
commit 5a235050b6ec6b7bd1cb0f42c765849d97ccd52b 1 parent bd12310
@freakboy3742 freakboy3742 authored
View
2  tests/regressiontests/admin_widgets/urls2.py
@@ -3,5 +3,5 @@
import widgetadmin
urlpatterns = patterns('',
- (r'^deep/down/admin/(.*)', widgetadmin.site.root),
+ (r'^deep/down/admin/', include(widgetadmin.site.urls)),
)
View
2  tests/regressiontests/generic_inline_admin/urls.py
@@ -2,5 +2,5 @@
from django.contrib import admin
urlpatterns = patterns('',
- (r'^admin/(.*)', admin.site.root),
+ (r'^admin/', include(admin.site.urls)),
)
Please sign in to comment.
Something went wrong with that request. Please try again.