mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Fixed #28663 -- Add a check for likely incorrectly migrated django.urls.path() routes.
This commit is contained in:
@@ -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
|
||||
------
|
||||
|
||||
Reference in New Issue
Block a user