summaryrefslogtreecommitdiff
path: root/tests/proxy_models
diff options
context:
space:
mode:
authorMarten Kenbeek <marten.knbk@gmail.com>2015-05-28 17:25:52 +0200
committerTim Graham <timograham@gmail.com>2015-06-08 15:12:20 -0400
commit1e82094f1b6690018228e688303295f83e1c3d9a (patch)
treea0e209da939ebe3b64e8e38cf47a191785825da0 /tests/proxy_models
parent39937de7e60052d3ffa9f07fdbb9262aced35d61 (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/proxy_models')
-rw-r--r--tests/proxy_models/urls.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/proxy_models/urls.py b/tests/proxy_models/urls.py
index 854ac78040..18ade2e739 100644
--- a/tests/proxy_models/urls.py
+++ b/tests/proxy_models/urls.py
@@ -1,7 +1,7 @@
-from django.conf.urls import include, url
+from django.conf.urls import url
from .admin import site
urlpatterns = [
- url(r'^admin/', include(site.urls)),
+ url(r'^admin/', site.urls),
]