[virtualcommons-svn] commit/vcweb: alllee: including all fields by default
Status: Beta
Brought to you by:
alllee
From: Bitbucket <com...@bi...> - 2011-06-16 00:01:09
|
1 new changeset in vcweb: http://bitbucket.org/virtualcommons/vcweb/changeset/6dd70458668d/ changeset: 6dd70458668d user: alllee date: 2011-06-16 02:00:59 summary: including all fields by default affected #: 1 file (47 bytes) --- a/vcweb/lighterprints/views.py Wed Jun 15 16:47:11 2011 -0700 +++ b/vcweb/lighterprints/views.py Wed Jun 15 17:00:59 2011 -0700 @@ -23,7 +23,7 @@ def convert_context_to_json(self, context): "Convert the context dictionary into a JSON object" logger.debug("serializing context %s", context) - return serializers.serialize('json', context['object_list'], fields=('display_name', 'description', 'url')) + return serializers.serialize('json', context['object_list']) class ActivityListView(JSONResponseMixin, BaseListView, MultipleObjectTemplateResponseMixin): # FIXME: replace with dynamic set Repository URL: https://bitbucket.org/virtualcommons/vcweb/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email. |