Ticket #3466: core.serializers.json.diff
File core.serializers.json.diff, 456 bytes (added by , 18 years ago) |
---|
-
json.py
16 16 Convert a queryset to JSON. 17 17 """ 18 18 def end_serialization(self): 19 if self.options.has_key("fields"): 20 self.options.pop("fields") 21 19 22 simplejson.dump(self.objects, self.stream, cls=DateTimeAwareJSONEncoder, **self.options) 20 23 21 24 def getvalue(self):