--
Ticket URL: <https://code.djangoproject.com/ticket/28216>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
Comment (by Tim Graham):
Did you consider overriding the `get_success_url()` method? Perhaps that
method could be documented.
--
Ticket URL: <https://code.djangoproject.com/ticket/28216#comment:1>
Comment (by ThinkChaos):
Yes I have, the issue with that is when `redirect_authenticated_user =
True`, `dispatch` also has redirect logic.
No I don't. It's mostly for symmetry with `LogoutView` so that I have
redirects in the same view file, and not in the settings.
--
Ticket URL: <https://code.djangoproject.com/ticket/28216#comment:2>
* stage: Unreviewed => Accepted
Comment:
I guess we could see what a patch looks like.
--
Ticket URL: <https://code.djangoproject.com/ticket/28216#comment:3>
* status: new => assigned
* owner: nobody => ThinkChaos
--
Ticket URL: <https://code.djangoproject.com/ticket/28216#comment:4>
Comment (by ThinkChaos):
[https://github.com/django/django/pull/8630 PR]
--
Ticket URL: <https://code.djangoproject.com/ticket/28216#comment:5>
* needs_tests: 0 => 1
--
Ticket URL: <https://code.djangoproject.com/ticket/28216#comment:6>
* needs_tests: 1 => 0
Comment:
I just pushed tests.
Sorry it took so long, I didn't find the tests for LogoutView when I first
checked.
--
Ticket URL: <https://code.djangoproject.com/ticket/28216#comment:7>
* needs_better_patch: 0 => 1
* has_patch: 0 => 1
--
Ticket URL: <https://code.djangoproject.com/ticket/28216#comment:8>
* needs_better_patch: 1 => 0
* needs_docs: 0 => 1
--
Ticket URL: <https://code.djangoproject.com/ticket/28216#comment:9>
* needs_docs: 1 => 0
* stage: Accepted => Ready for checkin
--
Ticket URL: <https://code.djangoproject.com/ticket/28216#comment:10>
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"b99d6c9cbc8eecf480892599201eef0d14b20d71" b99d6c9c]:
{{{
#!CommitTicketReference repository=""
revision="b99d6c9cbc8eecf480892599201eef0d14b20d71"
Fixed #28216 -- Added next_page/get_default_redirect_url() to LoginView.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/28216#comment:11>