mirror of
https://github.com/django/django.git
synced 2025-08-03 18:38:50 +00:00
[3.0.x] Fixed #31270 -- Doc'd RedirectView.get_redirect_url() arguments.
Backport of 2ab97af352
from master
This commit is contained in:
parent
bbec01c152
commit
bcf58e3e70
1 changed files with 4 additions and 0 deletions
|
@ -265,6 +265,10 @@ MRO is an acronym for Method Resolution Order.
|
|||
|
||||
Constructs the target URL for redirection.
|
||||
|
||||
The ``args`` and ``kwargs`` arguments are positional and/or keyword
|
||||
arguments :ref:`captured from the URL pattern
|
||||
<how-django-processes-a-request>`, respectively.
|
||||
|
||||
The default implementation uses :attr:`url` as a starting
|
||||
string and performs expansion of ``%`` named parameters in that string
|
||||
using the named groups captured in the URL.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue