Ticket #25490: never-cache-logout.patch
File never-cache-logout.patch, 441 bytes (added by , 9 years ago) |
---|
-
django/contrib/auth/views.py
diff --git a/django/contrib/auth/views.py b/django/contrib/auth/views.py index fc8b378..6362bf1 100644
a b def login(request, template_name='registration/login.html', 92 92 93 93 94 94 @deprecate_current_app 95 @never_cache 95 96 def logout(request, next_page=None, 96 97 template_name='registration/logged_out.html', 97 98 redirect_field_name=REDIRECT_FIELD_NAME,