summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorHasan Ramezani <hasan.r67@gmail.com>2020-02-13 16:01:43 +0100
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2020-02-14 10:33:20 +0100
commitbcf58e3e705cf0feaf29768a3539b241d8f12ec8 (patch)
treeadee1d3d7296a8c7bbc8288a66c2a76e295e0ffd /docs
parentbbec01c1520059aa518c30781bbd64a9469c2c30 (diff)
[3.0.x] Fixed #31270 -- Doc'd RedirectView.get_redirect_url() arguments.
Backport of 2ab97af3528352e8f3ea4aa725b863822442d5ed from master
Diffstat (limited to 'docs')
-rw-r--r--docs/ref/class-based-views/base.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/ref/class-based-views/base.txt b/docs/ref/class-based-views/base.txt
index 85e3c8bd4b..e5a3ca1963 100644
--- a/docs/ref/class-based-views/base.txt
+++ b/docs/ref/class-based-views/base.txt
@@ -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.