Opened 8 years ago

Closed 8 years ago

Last modified 7 years ago

#9709 closed (invalid)

Better explanation on how to disable caching of AdminSite

Reported by: emes 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 emes 8 years ago.

Download all attachments as: .zip

Change History (6)

Changed 8 years ago by emes

comment:1 Changed 8 years ago by patrys

  • Cc patrys@… added
  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset

comment:2 Changed 8 years ago by patrys

  • Has patch set

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

comment:3 Changed 8 years ago by patrys

  • Component changed from Uncategorized to Documentation

comment:4 Changed 8 years ago by brosner

  • Resolution set to invalid
  • Status changed from new to closed

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 7 years ago by anonymous

  • milestone post-1.0 deleted

Milestone post-1.0 deleted

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