diff options
Diffstat (limited to 'forum/managers.py')
-rw-r--r-- | forum/managers.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/forum/managers.py b/forum/managers.py index 2e3e4186..6ae0ed99 100644 --- a/forum/managers.py +++ b/forum/managers.py @@ -20,7 +20,7 @@ class QuestionManager(models.Manager): return questions def get_unanswered_questions(self, orderby): - questions = self.filter(deleted=False, answer_count=0).order_by(orderby) + questions = self.filter(deleted=False, answer_accepted=False).order_by(orderby) return questions def get_questions(self, orderby): |