Ticket #2607: django-serializer-json.diff

File django-serializer-json.diff, 514 bytes (added by dummy@…, 18 years ago)
  • django/core/serializers/json.py

     
    4848        elif isinstance(o, datetime.time):
    4949            return o.strftime(self.TIME_FORMAT)
    5050        else:
    51             return super(self, DateTimeAwareJSONEncoder).default(o)
    52  Kein Zeilenvorschub am Ende der Datei
     51            return super(DateTimeAwareJSONEncoder, self).default(o)
Back to Top