Simplify logout view.

Review Request #4930 — Created Nov. 10, 2013 and submitted

Information

Review Board
master

Reviewers

Simplify logout view.

Instead of using django.contrib.auth.views.logout with a next_page of our login
URL, use django.contrib.auth.views.logout_then_login, which does the same
thing. Additionally, move the URLspec from reviewboard/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.
chipx86
  1. Ship It!
  2. 
      
david
Review request changed
Status:
Completed
Change Summary:
Pushed to master (5da71b6).