changeset 315:36373d995611

Oops, r336 was not right; I forgot to save the file before committing. Fixing that.
author Brian Neal <bgneal@gmail.com>
date Sat, 29 Jan 2011 20:39:55 +0000
parents 03b70aa5c872
children 767cedc7d12a
files gpp/forums/templatetags/forum_tags.py
diffstat 1 files changed, 0 insertions(+), 11 deletions(-) [+]
line wrap: on
line diff
--- a/gpp/forums/templatetags/forum_tags.py	Sat Jan 29 20:34:36 2011 +0000
+++ b/gpp/forums/templatetags/forum_tags.py	Sat Jan 29 20:39:55 2011 +0000
@@ -129,17 +129,6 @@
     topics = Topic.objects.filter(forum__in=public_forums).select_related(
                     'user', 'last_post').order_by('-update_date')[:10]
 
-    # 1:
-    #public_cats = list(Category.objects.filter(groups__isnull=True).values_list('id', flat=True))
-    #topics = Topic.objects.filter(
-    #        forum__category__in=public_cats).select_related(
-    #                'user', 'last_post').order_by('-update_date')[:10]
-
-    # 0:
-    #topics = Topic.objects.filter(
-    #        forum__category__groups__isnull=True).select_related(
-    #                'user', 'last_post').order_by('-update_date')[:10]
-
     return {
         'topics': topics,
         'user': context['user'],