Ticket #9203: feeds.py.diff
File feeds.py.diff, 586 bytes (added by , 16 years ago) |
---|
-
feeds.py
31 31 where = ['user_id NOT IN (SELECT user_id FROM auth_users_group WHERE group_id = %s)'] 32 32 params = [settings.COMMENTS_BANNED_USERS_GROUP] 33 33 qs = qs.extra(where=where, params=params) 34 return qs [:40]34 return qs.order_by('-submit_date')[:40] 35 35 36 36 def item_pubdate(self, item): 37 return item.submit_date 38 No newline at end of file 37 return item.submit_date