I had to look at the code to be sure: `args` and `kwargs` are the groups
captured in the URL. That's what I expected and it might be obvious but I
still think it should be mentioned in this reference documentation.
I don't have immediate plans to work on this, anyone can pick this up. The
file to modify is in `docs/ref/class-based-views/base.txt` [2].
[1] https://docs.djangoproject.com/en/dev/ref/class-based-
views/base/#django.views.generic.base.RedirectView.get_redirect_url
[2] https://github.com/django/django/blob/master/docs/ref/class-based-
views/base.txt#L259
--
Ticket URL: <https://code.djangoproject.com/ticket/31270>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* stage: Unreviewed => Accepted
--
Ticket URL: <https://code.djangoproject.com/ticket/31270#comment:1>
--
Ticket URL: <https://code.djangoproject.com/ticket/31270#comment:2>
* owner: nobody => Hasan Ramezani
* status: new => assigned
--
Ticket URL: <https://code.djangoproject.com/ticket/31270#comment:3>
* has_patch: 0 => 1
--
Ticket URL: <https://code.djangoproject.com/ticket/31270#comment:4>
* stage: Accepted => Ready for checkin
--
Ticket URL: <https://code.djangoproject.com/ticket/31270#comment:5>
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"2ab97af3528352e8f3ea4aa725b863822442d5ed" 2ab97af]:
{{{
#!CommitTicketReference repository=""
revision="2ab97af3528352e8f3ea4aa725b863822442d5ed"
Fixed #31270 -- Doc'd RedirectView.get_redirect_url() arguments.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/31270#comment:6>
Comment (by Mariusz Felisiak <felisiak.mariusz@…>):
In [changeset:"bcf58e3e705cf0feaf29768a3539b241d8f12ec8" bcf58e3e]:
{{{
#!CommitTicketReference repository=""
revision="bcf58e3e705cf0feaf29768a3539b241d8f12ec8"
[3.0.x] Fixed #31270 -- Doc'd RedirectView.get_redirect_url() arguments.
Backport of 2ab97af3528352e8f3ea4aa725b863822442d5ed from master
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/31270#comment:7>