summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
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
------