]> git.openstreetmap.org Git - osqa.git/blobdiff - forum/feed.py
changed these files to use blocktrans instead.
[osqa.git] / forum / feed.py
index 0f8deaec3cfba590bb02d26a4130727498035c91..e74e80e4fdafef45e27181d1935e3f75e281c13d 100644 (file)
@@ -34,7 +34,7 @@ class RssLastestQuestionsFeed(Feed):
         return item.added_at
 
     def items(self, item):
-       return Question.objects.filter(deleted=None).order_by('-last_activity_at')[:30]
+       return Question.objects.filter_state(deleted=False).order_by('-last_activity_at')[:30]
 
 def main():
     pass