summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorChris Lamb <chris@chris-lamb.co.uk>2017-11-07 16:39:59 +0000
committerTim Graham <timograham@gmail.com>2017-11-07 11:39:59 -0500
commit998c9dd599cd907bb38f440fff13a808571589f8 (patch)
tree55bc5b404d0a3d33f1e2240cc0f5482e3324b2b1 /docs
parenta4f9ef4fe8048264c5d9e193e2ff79f735626c65 (diff)
Fixed #28663 -- Add a check for likely incorrectly migrated django.urls.path() routes.
Diffstat (limited to 'docs')
-rw-r--r--docs/ref/checks.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/ref/checks.txt b/docs/ref/checks.txt
index 62c8204def..9b3f1be356 100644
--- a/docs/ref/checks.txt
+++ b/docs/ref/checks.txt
@@ -98,7 +98,9 @@ Backwards compatibility
Compatibility checks warn of potential problems that might occur after
upgrading Django.
-Currently, there aren't any of these checks.
+* **2_0.W001**: Your URL pattern ``<pattern>`` has a ``route`` that contains
+ ``(?P<``, begins with a ``^``, or ends with a ``$``. This was likely an
+ oversight when migrating from ``url()`` to :func:`~django.urls.path`.
Caches
------