1
0
mirror of https://github.com/django/django.git synced 2025-10-28 16:16:12 +00:00

Refs #15619 -- Removed support for logging out via GET requests.

Per deprecation timeline.
This commit is contained in:
Mariusz Felisiak
2023-01-13 06:03:29 +01:00
parent 2e1aec2ba6
commit 6c57c08ae5
4 changed files with 8 additions and 40 deletions

View File

@@ -327,3 +327,7 @@ to remove usage of these features.
* ``created=True`` is required in the signature of
``RemoteUserBackend.configure_user()`` subclasses.
* Support for logging out via ``GET`` requests in the
``django.contrib.auth.views.LogoutView`` and
``django.contrib.auth.views.logout_then_login()`` is removed.

View File

@@ -1158,11 +1158,6 @@ implementation details see :ref:`using-the-views`.
Logs a user out on ``POST`` requests.
.. deprecated:: 4.1
Support for logging out on ``GET`` requests is deprecated and will be
removed in Django 5.0.
**URL name:** ``logout``
**Attributes:**