From 01aa591ca853bfc15b58f286ffe445441830695f Mon Sep 17 00:00:00 2001 From: Andrew Buss Date: Wed, 3 Jun 2015 17:31:12 -0700 Subject: [PATCH] disable the is_not_hidden thing; it's broke and no time to fix; 110 wheee --- flashcards/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flashcards/models.py b/flashcards/models.py index 881db4d..8ffa1ac 100644 --- a/flashcards/models.py +++ b/flashcards/models.py @@ -311,7 +311,7 @@ class Flashcard(Model): :param user: :return: Whether the card is hidden from the user. """ - if hasattr(self, 'is_not_hidden') and self.is_not_hidden: return False + # if hasattr(self, 'is_not_hidden') and self.is_not_hidden: return False return self.is_hidden or self.flashcardhide_set.filter(user=user).exists() def is_in_deck(self, user): -- 1.9.1