1
0
mirror of https://github.com/django/django.git synced 2025-10-31 09:41:08 +00:00

[1.11.x] Fixed #27887 -- Fixed URLs check crash with namespaced URLs inside non-namespaced URLs.

Backport of b23d264046 from master
This commit is contained in:
Tim Graham
2017-03-03 10:52:20 -05:00
parent 93c8e2d50d
commit 1f20326db0
2 changed files with 6 additions and 1 deletions

View File

@@ -15,4 +15,6 @@ urlpatterns = [
# 'nested' is included twice but namespaced by nested-1 and nested-2.
url(r'^app-ns1-2/', include(nested_url_patterns, namespace='nested-1')),
url(r'^app-ns1-3/', include(nested_url_patterns, namespace='nested-2')),
# namespaced URLs inside non-namespaced URLs.
url(r'^app-ns1-4/', include([url(r'^abc/', include(common_url_patterns))])),
]