Simplify logout view.
Review Request #4930 — Created Nov. 10, 2013 and submitted
Simplify logout view.
Instead of using
django.contrib.auth.views.logout
with anext_page
of our login
URL, usedjango.contrib.auth.views.logout_then_login
, which does the same
thing. Additionally, move the URLspec fromreviewboard/urls.py
to
reviewboard/accounts/urls.py
.
- Ran unit tests
- Logged out of my devserver and saw that I was sucessfully redirected to the
login page.