mirror of
https://github.com/django/django.git
synced 2025-07-24 13:44:32 +00:00
Fixed #28663 -- Add a check for likely incorrectly migrated django.urls.path() routes.
This commit is contained in:
parent
a4f9ef4fe8
commit
998c9dd599
7 changed files with 58 additions and 2 deletions
|
@ -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
|
||||
------
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue