On Sat, 2006-08-12 at 13:13 -0700, Don Arbow wrote: > On Aug 12, 2006, at 12:38 PM, Maciej Bliziński wrote: > > > > This is a data-analysis site, and after I change some parameters, I > > want > > to clear the cache for one of the views. How can I force a view to > > expire? > > Take a look at the example just above the "Upstream Caches" > paragraph. It shows how to delete a key (view) from the cache.
Hm... the keys look like: views.decorators.cache.cache_page.myprefix./myproject/.d41d8cd98f00b204e9800998ecf8427e It's fine, except the trailing MD5 sum. Is there a way to guess the key of the view? Otherwise, I could use SQL to find everything that begins with "views.decorators.cache.cache_page.myprefix./myproject/something/" and nuke it, but I'd rather stay high-level. -- Maciej Bliziński http://automatthias.wordpress.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users -~----------~----~----~----~------~----~------~--~---

