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