mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +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:
committed by
Mariusz Felisiak
parent
83c803f161
commit
baf9604ed8
@@ -10,7 +10,10 @@ urlpatterns = [
|
||||
path("not-prefixed-include/", include("i18n.patterns.urls.included")),
|
||||
re_path(_(r"^translated/$"), view, name="no-prefix-translated"),
|
||||
re_path(
|
||||
_(r"^translated/(?P<slug>[\w-]+)/$"), view, name="no-prefix-translated-slug"
|
||||
_(r"^translated/(?P<slug>[\w-]+)/$"),
|
||||
view,
|
||||
{"slug": "default-slug"},
|
||||
name="no-prefix-translated-slug",
|
||||
),
|
||||
]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user