mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-07-28 00:49:49 +03:00
re_path
This commit is contained in:
parent
6e2871680d
commit
e75d169496
|
@ -175,7 +175,7 @@ class FormatSuffixTests(TestCase):
|
|||
]
|
||||
urlpatterns = [
|
||||
path('purl/<int:parent>/', include(nested_patterns), {'foo': 'bar'}),
|
||||
path('ppath/<int:parent>/', include(nested_patterns), {'foo': 'bar'}),
|
||||
re_path('^purl/(?P<parent>[0-9]+)/', include(nested_patterns), {'foo': 'bar'}),
|
||||
]
|
||||
test_paths = [
|
||||
# parent url() nesting child path()
|
||||
|
|
Loading…
Reference in New Issue
Block a user