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:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user