On 2/28/06, fred...@pythonware.com <fred...@pythonware.com> wrote:
> - the admin site is cached too, which makes it a bit hard to use.Ah, you must be using the per-site cache, right? I'm actually not sure
> it might be a middleware ordering problem, but I haven't found a
> working combination. any ideas?
how the per-site cache would interact with the admin site -- the POSTs
would work, but the GETs would probably be cached. Is that what's
The best solution to this is to use per-view caches rather than the
> - I would like to explicitly remove pages from the cache, basedIt's possible to interpret this question two ways, so I'll answer both:
> on the URL. is there some public API for this that I haven't found ?
* If you're wanting to physically delete a page from the cache, use
from django.core.cache import cache
Note that the cache key contains "/some/url/", which is the URL that
* If you want to prevent a particular view from being cached (when
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.