Deleting many object from cache fulfilling given condition
I've got model X cons开发者_如何学编程tructed per other model Y and user U. X is stored in django-cache under key 'X_Y.id_U.id'. Now i want to delete all models X binded to Y from cache (for all users). How can i do this well?
精彩评论