# HG changeset patch # User Brian Neal # Date 1296333595 0 # Node ID 36373d9956112220d8a3694ec18952174642ed7f # Parent 03b70aa5c872ec73728907388dac5d8081723db4 Oops, r336 was not right; I forgot to save the file before committing. Fixing that. diff -r 03b70aa5c872 -r 36373d995611 gpp/forums/templatetags/forum_tags.py --- 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'],