diff gpp/forums/admin.py @ 181:500e5875a306

Implementing #61: adding a forum topic subscription feature.
author Brian Neal <bgneal@gmail.com>
date Sun, 28 Mar 2010 01:07:47 +0000
parents d97ceb95ce02
children b4305e18d3af
line wrap: on
line diff
--- a/gpp/forums/admin.py	Sun Mar 21 20:33:33 2010 +0000
+++ b/gpp/forums/admin.py	Sun Mar 28 01:07:47 2010 +0000
@@ -27,7 +27,7 @@
 class TopicAdmin(admin.ModelAdmin):
     list_display = ('name', 'forum', 'creation_date', 'update_date', 'user', 'sticky', 'locked',
             'post_count')
-    raw_id_fields = ('user', 'last_post', )
+    raw_id_fields = ('user', 'last_post', 'subscribers')
     search_fields = ('name', )
     date_hierarchy = 'creation_date'
     list_filter = ('creation_date', 'update_date', )