--
Ticket URL: <https://code.djangoproject.com/ticket/26882>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* owner: nobody => andersonresende
* status: new => assigned
--
Ticket URL: <https://code.djangoproject.com/ticket/26882#comment:1>
Comment (by andersonresende):
The warning is breaking my test :/
How to remove the warnings at test `RemovedInDjango21Warning: The logout()
view is superseded by the class-based LogoutView().`
--
Ticket URL: <https://code.djangoproject.com/ticket/26882#comment:2>
Comment (by timgraham):
Replace `return logout(request, login_url, extra_context=extra_context)`
with `return LogoutView.as_view(login_url,
extra_context=extra_context)(request)`.
--
Ticket URL: <https://code.djangoproject.com/ticket/26882#comment:3>
Comment (by andersonresende):
Thx!
--
Ticket URL: <https://code.djangoproject.com/ticket/26882#comment:4>
* owner: andersonresende => andrewnester
--
Ticket URL: <https://code.djangoproject.com/ticket/26882#comment:5>
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"dde6288fbe97c7053e67b613fec3366f3c298cf4" dde6288f]:
{{{
#!CommitTicketReference repository=""
revision="dde6288fbe97c7053e67b613fec3366f3c298cf4"
Fixed #26882 -- Added tests for auth.views.logout_then_login().
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/26882#comment:6>