mirror of
https://github.com/django/django.git
synced 2025-08-03 10:34:04 +00:00
[3.0.x] Fixed #31061 -- Ignored positional args in django.urls.resolve() when all optional named parameters are missing.
Regression in76b993a117
. Thanks Claude Paroz for the report and Carlton Gibson for reviews. Backport of82a88d2f48
from master
This commit is contained in:
parent
6ede5a3cb7
commit
e986e49e66
5 changed files with 22 additions and 2 deletions
|
@ -53,7 +53,7 @@ algorithm the system follows to determine which Python code to execute:
|
|||
arguments:
|
||||
|
||||
* An instance of :class:`~django.http.HttpRequest`.
|
||||
* If the matched URL pattern returned no named groups, then the
|
||||
* If the matched URL pattern contained no named groups, then the
|
||||
matches from the regular expression are provided as positional arguments.
|
||||
* The keyword arguments are made up of any named parts matched by the
|
||||
path expression, overridden by any arguments specified in the optional
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue