Opened 10 years ago

Closed 10 years ago

Last modified 9 years ago

#9709 closed (invalid)

Better explanation on how to disable caching of AdminSite

Reported by: Michał Sałaban Owned by: nobody
Component: Documentation Version: master
Severity: Keywords: admin, caching, docs, documentation
Cc: patrys@… Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:


A new piece of documentation describing use of CACHE_MIDDLEWARE_ANONYMOUS_ONLY and @never_cache decorator to exclude admin from caching.

Attachments (1)

django-admin-and-caching-docs.patch (1.9 KB) - added by Michał Sałaban 10 years ago.

Download all attachments as: .zip

Change History (6)

Changed 10 years ago by Michał Sałaban

comment:1 Changed 10 years ago by Patryk Zawadzki

Cc: patrys@… added

comment:2 Changed 10 years ago by Patryk Zawadzki

Has patch: set

WTF? I didn't change any fields other than CC. Marking as "has patch."

comment:3 Changed 10 years ago by Patryk Zawadzki

Component: UncategorizedDocumentation

comment:4 Changed 10 years ago by Brian Rosner

Resolution: invalid
Status: newclosed

The AdminSite is already implementing the never_cache wrapper around its views. If is a bug with not caching *that* should be reported. There is no reason to document something that already exists :) Please open a new ticket describing the issue you are seeing with AdminSite's usage of never_cache (or lack of).

comment:5 Changed 9 years ago by (none)

milestone: post-1.0

Milestone post-1.0 deleted

Note: See TracTickets for help on using tickets.
Back to Top