diff options
| author | Chris Lamb <chris@chris-lamb.co.uk> | 2017-11-07 16:39:59 +0000 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2017-11-07 11:40:17 -0500 |
| commit | 518c11352c3adad20b8d4a255369d2b8bd6f61fb (patch) | |
| tree | 21b07b65a2aac0c2a04af43567f6e0df8de84070 /docs/ref | |
| parent | 72f875541a0ad5a7d317ae1f842963c6c878ff5f (diff) | |
[2.0.x] Fixed #28663 -- Add a check for likely incorrectly migrated django.urls.path() routes.
Backport of 998c9dd599cd907bb38f440fff13a808571589f8 from master
Diffstat (limited to 'docs/ref')
| -rw-r--r-- | docs/ref/checks.txt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/ref/checks.txt b/docs/ref/checks.txt index aa5b3a4716..d3a6b1b047 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 ------ |
