summaryrefslogtreecommitdiffstats
path: root/forum/managers.py
diff options
context:
space:
mode:
authorHernani Cerqueira <hernani@viper6.dzone.com>2010-02-01 18:24:11 -0500
committerHernani Cerqueira <hernani@viper6.dzone.com>2010-02-01 18:24:11 -0500
commitca0ae031c6700cc827b16af0d50e8cfc5cce85e2 (patch)
tree365b8fa976a4640e163a7a6374a486f14d6e715d /forum/managers.py
parent55303308437e527b3e48cca65ca162bac39437c7 (diff)
downloadaskbot-ca0ae031c6700cc827b16af0d50e8cfc5cce85e2.tar.gz
askbot-ca0ae031c6700cc827b16af0d50e8cfc5cce85e2.tar.bz2
askbot-ca0ae031c6700cc827b16af0d50e8cfc5cce85e2.zip
various minor fixes
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 b352ad37..3f580bd3 100644
--- a/forum/managers.py
+++ b/forum/managers.py
@@ -92,7 +92,7 @@ class TagManager(models.Manager):
'SET used_count = ('
'SELECT COUNT(*) FROM question_tags '
'INNER JOIN question ON question_id=question.id '
- 'WHERE tag_id = tag.id AND question.deleted=0'
+ 'WHERE tag_id = tag.id AND question.deleted=False'
') '
'WHERE id IN (%s)')