# HG changeset patch # User Brian Neal # Date 1299444675 0 # Node ID 7c7201f942fe72ef0f7eba1402fd48730335ede7 # Parent c8c0fa817a05672219b15c6fd29ac89db7186d58 Added raw_id_fields for submitter on news stories and pending stories. diff -r c8c0fa817a05 -r 7c7201f942fe gpp/news/admin.py --- a/gpp/news/admin.py Sun Mar 06 20:23:09 2011 +0000 +++ b/gpp/news/admin.py Sun Mar 06 20:51:15 2011 +0000 @@ -23,6 +23,7 @@ date_hierarchy = 'date_submitted' actions = ('approve_story', ) readonly_fields = ('update_date', ) + raw_id_fields = ('submitter', ) def approve_story(self, request, qs): for pending_story in qs: @@ -51,6 +52,7 @@ search_fields = ('title', 'short_text', 'long_text') date_hierarchy = 'date_submitted' readonly_fields = ('update_date', ) + raw_id_fields = ('submitter', ) class Media: js = settings.GPP_THIRD_PARTY_JS['tiny_mce']