id,summary,reporter,owner,description,type,status,component,version,severity,resolution,keywords,cc,stage,has_patch,needs_docs,needs_tests,needs_better_patch,easy,ui_ux 3466,'fields' and 'stream' options not working for json serializer,Parand Darugar ,Jacob,"I'm attempting to use the 'fields' option with the json serializer without any luck. The same call with the xml serializer works fine: serializers.serialize(""json"", (Something.objects.get(pk=1), ), fields='myfield' ) breaks with: Traceback (most recent call last): File """", line 1, in ? File ""C:\Python24\lib\site-packages\django\core\serializers\__init__.py"", line 55, in serialize s.serialize(queryset, **options) File ""C:\Python24\lib\site-packages\django\core\serializers\base.py"", line 49, in serialize self.end_serialization() File ""C:\Python24\lib\site-packages\django\core\serializers\json.py"", line 19, in end_serialization simplejson.dump(self.objects, self.stream, cls=DateTimeAwareJSONEncoder, **self.options) File ""C:\Python24\lib\site-packages\django\utils\simplejson\__init__.py"", line 134, in dump check_circular=check_circular, allow_nan=allow_nan, indent=indent, TypeError: __init__() got an unexpected keyword argument 'fields' Trying: serializers.serialize(""xml"", (Something.objects.get(pk=1), ), fields='myfield' ) works fine however. ",,closed,Core (Serialization),dev,,fixed,,egmanoj@… ferringb@…,Accepted,1,0,0,0,0,0