开发者

Deleting many object from cache fulfilling given condition

开发者 https://www.devze.com 2023-04-08 22:40 出处:网络
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 us

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?

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号