summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorRiccardo Magliocchetti <riccardo.magliocchetti@gmail.com>2016-09-01 15:39:56 +0200
committerTim Graham <timograham@gmail.com>2016-09-01 14:06:45 -0400
commit7ed8b98f42cd3a9fa530bbb764d3d79230e0a7a7 (patch)
tree99697be84a4ed4aeea4798663f5a95fefa7ca2de /docs
parent6b54504e667da3f6bc53b887ffd7e8cc113a94b1 (diff)
Clarified URL regex check message with respect to include().
Diffstat (limited to 'docs')
-rw-r--r--docs/ref/checks.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/ref/checks.txt b/docs/ref/checks.txt
index 78d3783b59..a38cd1ec3d 100644
--- a/docs/ref/checks.txt
+++ b/docs/ref/checks.txt
@@ -657,6 +657,8 @@ The following checks are performed on your URL configuration:
including URLs.
* **urls.W002**: Your URL pattern ``<pattern>`` has a ``regex``
beginning with a ``/``. Remove this slash as it is unnecessary.
+ If this pattern is targeted in an :func:`~django.conf.urls.include`, ensure
+ the :func:`~django.conf.urls.include` pattern has a trailing ``/``.
* **urls.W003**: Your URL pattern ``<pattern>`` has a ``name``
including a ``:``. Remove the colon, to avoid ambiguous namespace
references.