I ve got model X constructed 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?
How do I get two distinct random records using Django? I ve seen questions about how to get one but I need to get two random records and they must differ.