Ticket #2607: django-serializer-json.diff
File django-serializer-json.diff, 514 bytes (added by , 18 years ago) |
---|
-
django/core/serializers/json.py
48 48 elif isinstance(o, datetime.time): 49 49 return o.strftime(self.TIME_FORMAT) 50 50 else: 51 return super(self, DateTimeAwareJSONEncoder).default(o) 52 Kein Zeilenvorschub am Ende der Datei 51 return super(DateTimeAwareJSONEncoder, self).default(o)