1
0
mirror of https://github.com/django/django.git synced 2025-04-04 21:46:40 +00:00

[2.0.x] Fixed invalid escape sequence warning in check_framework test.

Backport of 532a4f22ad94db320cb0fd66f4c7ee57d17ac65a from master
This commit is contained in:
Tim Graham 2017-11-14 19:05:20 -05:00
parent 5638b77627
commit 022aebc550

View File

@ -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),
]