From 2ab97af3528352e8f3ea4aa725b863822442d5ed Mon Sep 17 00:00:00 2001 From: Hasan Ramezani Date: Thu, 13 Feb 2020 16:01:43 +0100 Subject: [PATCH] Fixed #31270 -- Doc'd RedirectView.get_redirect_url() arguments. --- docs/ref/class-based-views/base.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/ref/class-based-views/base.txt b/docs/ref/class-based-views/base.txt index 4c1d0e12b58..7906c568467 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 + `, 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.