(urls.W005) URL namespace 'baz' isn't unique. You may not be able to
reverse all URLs in this namespace
This doesn't seem right as "foo:baz:view-a" and "bar:baz:view-b" are
entirely independent.
I am seeing this a bit as I typically separate the user and admin parts of
an app using nested apps and simply use "admin" as the "baz" in the above
examples to avoid DRY in the fully-qualified urls.
--
Ticket URL: <https://code.djangoproject.com/ticket/27874>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* type: Uncategorized => Bug
* component: Uncategorized => Core (System checks)
* severity: Normal => Release blocker
* stage: Unreviewed => Accepted
--
Ticket URL: <https://code.djangoproject.com/ticket/27874#comment:1>
* has_patch: 0 => 1
Comment:
[https://github.com/django/django/pull/8102 PR]
(No tests yet.)
--
Ticket URL: <https://code.djangoproject.com/ticket/27874#comment:2>
Comment (by Chris Lamb):
[https://github.com/django/django/pull/8102#issuecomment-281925838 PR
updated with tests]
--
Ticket URL: <https://code.djangoproject.com/ticket/27874#comment:3>
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"8d4885ede578b5beef7626cd31bbd19a95bd678a" 8d4885ed]:
{{{
#!CommitTicketReference repository=""
revision="8d4885ede578b5beef7626cd31bbd19a95bd678a"
Fixed #27874 -- Fixed URL namespace warning (urls.W005) for nested
namespaces.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/27874#comment:4>
Comment (by Tim Graham <timograham@…>):
In [changeset:"0417bf47a6fd00d9a6a4c711780ce01f35f62d59" 0417bf47]:
{{{
#!CommitTicketReference repository=""
revision="0417bf47a6fd00d9a6a4c711780ce01f35f62d59"
[1.11.x] Fixed #27874 -- Fixed URL namespace warning (urls.W005) for
nested namespaces.
Backport of 8d4885ede578b5beef7626cd31bbd19a95bd678a from master
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/27874#comment:5>