diff gpp/forums/admin.py @ 232:a46788862737

Implement a forum favorites feature for #82
author Brian Neal <bgneal@gmail.com>
date Sun, 01 Aug 2010 21:26:12 +0000
parents 272d3a8c98e8
children 7e19180b128d
line wrap: on
line diff
--- a/gpp/forums/admin.py	Wed Jul 14 02:35:39 2010 +0000
+++ b/gpp/forums/admin.py	Sun Aug 01 21:26:12 2010 +0000
@@ -31,7 +31,7 @@
 class TopicAdmin(admin.ModelAdmin):
     list_display = ('name', 'forum', 'creation_date', 'update_date', 'user', 'sticky', 'locked',
             'post_count')
-    raw_id_fields = ('user', 'last_post', 'subscribers')
+    raw_id_fields = ('user', 'last_post', 'subscribers', 'bookmarkers')
     search_fields = ('name', )
     date_hierarchy = 'creation_date'
     list_filter = ('creation_date', 'update_date', )