1
0
mirror of https://github.com/django/django.git synced 2025-10-24 06:06:09 +00:00

Refs #21927 -- Removed include()'s app_name argument per deprecation timeline.

Also removed support for passing a 3-tuple to include() and support for
setting an instance namespace without an application namespace.

Thanks Marten Kenbeek for completing the patch.
This commit is contained in:
Tim Graham
2017-01-10 09:57:49 -05:00
parent c6de8cca20
commit ad393beeb7
7 changed files with 119 additions and 127 deletions

View File

@@ -18,7 +18,7 @@ class URLObject(object):
@property
def urls(self):
return self.urlpatterns, self.app_name, self.namespace
return (self.urlpatterns, self.app_name), self.namespace
@property
def app_urls(self):