Skip to content

Commit

Permalink
[3.0.x] Fixed #31270 -- Doc'd RedirectView.get_redirect_url() arguments.
Browse files Browse the repository at this point in the history
Backport of 2ab97af from master
  • Loading branch information
hramezani authored and felixxm committed Feb 14, 2020
1 parent bbec01c commit bcf58e3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/ref/class-based-views/base.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit bcf58e3

Please sign in to comment.