• 
      

    Make the logout action use POST.

    Review Request #14840 — Created Feb. 19, 2026 and submitted — Latest diff uploaded

    Information

    Review Board
    master

    Reviewers

    As of Django 5.0, the LogoutView only works with POST operations, not
    GET. This change adds a special view for the logout action which
    creates and submits a form (just containing the CSRF token) in order to
    perform the logout.

    • Ran unit tests.
    • Logged out from the UI.

    Commits

    Files