mirror of
https://github.com/django/django.git
synced 2025-10-24 22:26:08 +00:00
Fixed #31459 -- Fixed handling invalid indentifiers in URL path conversion.
This patch adjusted existing tests that used invalid identifiers.
This commit is contained in:
committed by
Mariusz Felisiak
parent
578c03b276
commit
4bb33bb074
@@ -1,5 +1,5 @@
|
||||
from django.urls import path
|
||||
|
||||
urlpatterns = [
|
||||
path(r'(?P<named-group>\d+)', lambda x: x),
|
||||
path(r'(?P<named_group>\d+)', lambda x: x),
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user