Commit 01aa591ca853bfc15b58f286ffe445441830695f

Authored by Andrew Buss
1 parent 92f595819c
Exists in master

disable the is_not_hidden thing; it's broke and no time to fix; 110 wheee

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

flashcards/models.py View file @ 01aa591
... ... @@ -311,7 +311,7 @@
311 311 :param user:
312 312 :return: Whether the card is hidden from the user.
313 313 """
314   - if hasattr(self, 'is_not_hidden') and self.is_not_hidden: return False
  314 + # if hasattr(self, 'is_not_hidden') and self.is_not_hidden: return False
315 315 return self.is_hidden or self.flashcardhide_set.filter(user=user).exists()
316 316  
317 317 def is_in_deck(self, user):