Make the logout action use POST.
Review Request #14840 — Created Feb. 19, 2026 and updated — Latest diff uploaded
As of Django 5.0, the LogoutView only works with
POSToperations, 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.