Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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
Russell Keith-Magee authored December 14, 2009
2  tests/regressiontests/admin_widgets/urls2.py
@@ -3,5 +3,5 @@
3 3
 import widgetadmin
4 4
 
5 5
 urlpatterns = patterns('',
6  
-    (r'^deep/down/admin/(.*)', widgetadmin.site.root),
  6
+    (r'^deep/down/admin/', include(widgetadmin.site.urls)),
7 7
 )
2  tests/regressiontests/generic_inline_admin/urls.py
@@ -2,5 +2,5 @@
2 2
 from django.contrib import admin
3 3
 
4 4
 urlpatterns = patterns('',
5  
-    (r'^admin/(.*)', admin.site.root),
  5
+    (r'^admin/', include(admin.site.urls)),
6 6
 )

0 notes on commit 5a23505

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