Django

Code

Ticket #9709 (closed: invalid)

Opened 1 year ago

Last modified 1 year ago

Better explanation on how to disable caching of AdminSite

Reported by: emes Assigned to: nobody
Milestone: Component: Documentation
Version: SVN Keywords: admin, caching, docs, documentation
Cc: patrys@pld-linux.org Triage Stage: Unreviewed
Has patch: 1 Needs documentation: 0
Needs tests: 0 Patch needs improvement: 0

Description

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

Attachments

django-admin-and-caching-docs.patch (1.9 kB) - added by emes on 11/26/08 11:41:34.

Change History

11/26/08 11:41:34 changed by emes

  • attachment django-admin-and-caching-docs.patch added.

11/27/08 05:17:22 changed by patrys

  • cc set to patrys@pld-linux.org.
  • needs_better_patch changed.
  • needs_tests changed.
  • needs_docs changed.

11/27/08 05:18:44 changed by patrys

  • has_patch set to 1.

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

11/27/08 05:20:06 changed by patrys

  • component changed from Uncategorized to Documentation.

11/27/08 13:12:39 changed by brosner

  • status changed from new to closed.
  • resolution set to invalid.

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).

02/25/09 13:51:44 changed by

  • milestone deleted.

Milestone post-1.0 deleted


Add/Change #9709 (Better explanation on how to disable caching of AdminSite)




Change Properties
Action