mirror of
https://github.com/django/django.git
synced 2025-11-25 13:13:28 +00:00
Fixed #16406 -- Added ResolveMatch.captured_kwargs and extra_kwargs.
Thanks Florian Apolloner for the review and implementation idea.
This commit is contained in:
parent
83c803f161
commit
baf9604ed8
11 changed files with 163 additions and 14 deletions
|
|
@ -23,7 +23,10 @@ urlpatterns = [
|
|||
path("resolver_match/", views.pass_resolver_match_view, name="test-resolver-match"),
|
||||
re_path(r"^\+\\\$\*/$", views.empty_view, name="special-view"),
|
||||
re_path(
|
||||
r"^mixed_args/([0-9]+)/(?P<arg2>[0-9]+)/$", views.empty_view, name="mixed-args"
|
||||
r"^mixed_args/([0-9]+)/(?P<arg2>[0-9]+)/$",
|
||||
views.empty_view,
|
||||
{"extra": True},
|
||||
name="mixed-args",
|
||||
),
|
||||
re_path(r"^no_kwargs/([0-9]+)/([0-9]+)/$", views.empty_view, name="no-kwargs"),
|
||||
re_path(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue