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 08:30:16 +0100
commit2ab97af3528352e8f3ea4aa725b863822442d5ed (patch)
tree2a813476928a96d36fc33fd41179e96e6b144364 /docs
parent41ef143bd9d22f2fc09085b0a653bb86d6851067 (diff)
Fixed #31270 -- Doc'd RedirectView.get_redirect_url() arguments.
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 4c1d0e12b5..7906c56846 100644
--- a/docs/ref/class-based-views/base.txt
+++ b/docs/ref/class-based-views/base.txt
@@ -260,6 +260,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.