diff options
| author | Marten Kenbeek <marten.knbk@gmail.com> | 2015-05-28 17:25:52 +0200 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2015-06-08 15:12:20 -0400 |
| commit | 1e82094f1b6690018228e688303295f83e1c3d9a (patch) | |
| tree | a0e209da939ebe3b64e8e38cf47a191785825da0 /tests/admin_widgets | |
| parent | 39937de7e60052d3ffa9f07fdbb9262aced35d61 (diff) | |
Fixed #21927 -- Made application and instance namespaces more distinct.
Made URL application namespaces be set in the included URLconf and
instance namespaces in the call to include(). Deprecated other ways
to set application and instance namespaces.
Diffstat (limited to 'tests/admin_widgets')
| -rw-r--r-- | tests/admin_widgets/urls.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/admin_widgets/urls.py b/tests/admin_widgets/urls.py index 7f4721c57e..3381b2f13a 100644 --- a/tests/admin_widgets/urls.py +++ b/tests/admin_widgets/urls.py @@ -1,7 +1,7 @@ -from django.conf.urls import include, url +from django.conf.urls import url from . import widgetadmin urlpatterns = [ - url(r'^', include(widgetadmin.site.urls)), + url(r'^', widgetadmin.site.urls), ] |
