Opened 16 years ago

Closed 16 years ago

Last modified 16 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: dev
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: no UI/UX: no

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 Michał Sałaban 16 years ago.

Download all attachments as: .zip

Change History (6)

by Michał Sałaban, 16 years ago

comment:1 by Patryk Zawadzki, 16 years ago

Cc: patrys@… added

comment:2 by Patryk Zawadzki, 16 years ago

Has patch: set

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

comment:3 by Patryk Zawadzki, 16 years ago

Component: UncategorizedDocumentation

comment:4 by Brian Rosner, 16 years ago

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 by (none), 16 years ago

milestone: post-1.0

Milestone post-1.0 deleted

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