summaryrefslogtreecommitdiffstats
path: root/forum/managers.py
diff options
context:
space:
mode:
Diffstat (limited to 'forum/managers.py')
-rw-r--r--forum/managers.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/forum/managers.py b/forum/managers.py
index 314f022f..2c05bc5f 100644
--- a/forum/managers.py
+++ b/forum/managers.py
@@ -24,7 +24,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):