On 29 Mar 2008, at 17:49, Sebastjan Trepca wrote:
>
> I would use signals for this. For example, you could hook on post_save
> signal, so whenever a model gets saved, you refresh the cache etc.

Unfortunately it's not as simple as that, we cache groups of models,  
querysets, portions of html that many models have had their data used  
in, so there's no way for a model to know all the keys that it needs  
to clear.

--~--~---------~--~----~------------~-------~--~----~
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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to