#28513: django 1.11 doesn't support POST for logout view
-----------------------------------------+------------------------
Reporter: Paulo | Owner: nobody
Type: Uncategorized | Status: new
Component: Uncategorized | Version: 1.11
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-----------------------------------------+------------------------
Hello,
On Django versions < 1.11, the logout view allowed us to use a POST
request.
Because no ''post'' method is defined on the new ''LogoutView'' introduced
in
https://github.com/django/django/commit/78963495d0caadb77eb97ccf319ef0ba3b204fb5,
a POST request will raise 405 Method not allowed error. I don't think POST
was officially supported (don't see it in the docs) but there's code in
the view that checks for the redirect field in the POST data.
--
Ticket URL: <https://code.djangoproject.com/ticket/28513>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/051.717168a0ba73b7009b45a5b4bcb8c345%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.