diff options
| author | Russell Keith-Magee <russell@keith-magee.com> | 2009-12-14 11:19:40 +0000 |
|---|---|---|
| committer | Russell Keith-Magee <russell@keith-magee.com> | 2009-12-14 11:19:40 +0000 |
| commit | 5a235050b6ec6b7bd1cb0f42c765849d97ccd52b (patch) | |
| tree | f9c2030ce887f100a1ea6f16c2fdabf106fc29ae /tests/regressiontests/admin_widgets | |
| parent | bd123104272606465dd0391f0c3650388b0fb45c (diff) | |
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
Diffstat (limited to 'tests/regressiontests/admin_widgets')
| -rw-r--r-- | tests/regressiontests/admin_widgets/urls2.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/regressiontests/admin_widgets/urls2.py b/tests/regressiontests/admin_widgets/urls2.py index 1ad060cd09..e38ff66b49 100644 --- a/tests/regressiontests/admin_widgets/urls2.py +++ b/tests/regressiontests/admin_widgets/urls2.py @@ -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)), ) |
