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):