Code

Opened 6 years ago

Closed 6 years ago

Last modified 5 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:

Description

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 6 years ago.

Download all attachments as: .zip

Change History (6)

Changed 6 years ago by emes

comment:1 Changed 6 years ago by patrys

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

comment:2 Changed 6 years ago by patrys

  • Has patch set

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

comment:3 Changed 6 years ago by patrys

  • Component changed from Uncategorized to Documentation

comment:4 Changed 6 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 5 years ago by anonymous

  • milestone post-1.0 deleted

Milestone post-1.0 deleted

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.