# HG changeset patch # User Brian Neal # Date 1310178513 0 # Node ID 79d454ff2de0bbe37bccb1ef0009464d34479fc8 # Parent bba1782992eba73b9a89fc8015e2a42f44e78dd4 Add raw_id_fields to the FlaggedPostAdmin. diff -r bba1782992eb -r 79d454ff2de0 gpp/forums/admin.py --- a/gpp/forums/admin.py Sat Jul 09 02:12:32 2011 +0000 +++ b/gpp/forums/admin.py Sat Jul 09 02:28:33 2011 +0000 @@ -51,8 +51,9 @@ class FlaggedPostAdmin(admin.ModelAdmin): - list_display = ('__unicode__', 'flag_date', 'get_post_url') - actions = ('accept_flags', ) + list_display = ['__unicode__', 'flag_date', 'get_post_url'] + actions = ['accept_flags'] + raw_id_fields = ['post', 'user', ] def accept_flags(self, request, qs): """This admin action awards a security pin to the user who reported