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/generic_inline_admin | |
| 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/generic_inline_admin')
| -rw-r--r-- | tests/regressiontests/generic_inline_admin/urls.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/regressiontests/generic_inline_admin/urls.py b/tests/regressiontests/generic_inline_admin/urls.py index 04d68cd26c..c3e8af8fe1 100644 --- a/tests/regressiontests/generic_inline_admin/urls.py +++ b/tests/regressiontests/generic_inline_admin/urls.py @@ -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)), ) |
