Fixed #27612 -- Added a check for duplicate URL instance namespaces.

This commit is contained in:
Andrew Nester 2016-12-22 00:54:15 +03:00 committed by Tim Graham
parent 3188b49ee2
commit 24fa728a47
5 changed files with 88 additions and 2 deletions

View file

@ -673,3 +673,5 @@ The following checks are performed on your URL configuration:
references.
* **urls.E004**: Your URL pattern ``<pattern>`` is invalid. Ensure that
``urlpatterns`` is a list of :func:`~django.conf.urls.url()` instances.
* **urls.W005**: URL namespace ``<namespace>`` isn't unique. You may not be
able to reverse all URLs in this namespace.