summaryrefslogtreecommitdiffstats
path: root/forum/managers.py
diff options
context:
space:
mode:
authorEvgeny Fadeev <evgeny.fadeev@gmail.com>2009-08-19 21:29:51 -0400
committerEvgeny Fadeev <evgeny.fadeev@gmail.com>2009-08-19 21:29:51 -0400
commit2022b772a01f36fa74de002b5370dd70b6c051ba (patch)
tree2ce70a5d5fb0eab245126fab7fac628fab0cffbe /forum/managers.py
parent1bc0d490820c4587a8902747e8516aa6ae98a515 (diff)
downloadaskbot-2022b772a01f36fa74de002b5370dd70b6c051ba.tar.gz
askbot-2022b772a01f36fa74de002b5370dd70b6c051ba.tar.bz2
askbot-2022b772a01f36fa74de002b5370dd70b6c051ba.zip
added Adolfos mods, django_authopeid bug, unified traditional and OpenID login
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 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):