diff options
| -rw-r--r-- | tests/check_framework/urls/path_compatibility/contains_re_named_group.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/check_framework/urls/path_compatibility/contains_re_named_group.py b/tests/check_framework/urls/path_compatibility/contains_re_named_group.py index 76c4939f3f..a99c79354e 100644 --- a/tests/check_framework/urls/path_compatibility/contains_re_named_group.py +++ b/tests/check_framework/urls/path_compatibility/contains_re_named_group.py @@ -1,5 +1,5 @@ from django.urls import path urlpatterns = [ - path('(?P<named-group>\d+)', lambda x: x), + path(r'(?P<named-group>\d+)', lambda x: x), ] |
