Ticket #2515: json.diff
File json.diff, 600 bytes (added by , 18 years ago) |
---|
-
store/django/django/core/serializers/json.py
16 16 Convert a queryset to JSON. 17 17 """ 18 18 def end_serialization(self): 19 simplejson.dump(self.objects, self.stream, cls=DateTimeAwareJSONEncoder )19 simplejson.dump(self.objects, self.stream, cls=DateTimeAwareJSONEncoder, **self.options) 20 20 21 21 def getvalue(self): 22 22 return self.stream.getvalue()