https://github.com/django/django/pull/5379 contains a simple fix against
the master branch, but currently no tests.
--
Ticket URL: <https://code.djangoproject.com/ticket/25490>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* Attachment "never-cache-logout.patch" added.
add @never_cache to django.contrib.auth.views.logout
* needs_better_patch: => 0
* stage: Unreviewed => Accepted
* type: Uncategorized => Cleanup/optimization
* needs_tests: => 0
* needs_docs: => 0
Comment:
By the way, if you provide a pull request, you don't need to also attach a
patch on the ticket.
--
Ticket URL: <https://code.djangoproject.com/ticket/25490#comment:1>
Comment (by belak):
Thanks. I'll keep that in mind for next time.
--
Ticket URL: <https://code.djangoproject.com/ticket/25490#comment:2>
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"adcf823359d7402fc1f57a2e005cea52905d897d" adcf8233]:
{{{
#!CommitTicketReference repository=""
revision="adcf823359d7402fc1f57a2e005cea52905d897d"
Fixed #25490 -- Made the logout() view send "no-cache" headers.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/25490#comment:3>