Ticket #3466: core.serializers.json.diff

File core.serializers.json.diff, 456 bytes (added by egmanoj@…, 18 years ago)

Patch for core.serializers.json.Serializer

  • json.py

     
    1616    Convert a queryset to JSON.
    1717    """
    1818    def end_serialization(self):
     19        if self.options.has_key("fields"):
     20            self.options.pop("fields")
     21
    1922        simplejson.dump(self.objects, self.stream, cls=DateTimeAwareJSONEncoder, **self.options)
    2023       
    2124    def getvalue(self):
Back to Top