diff --git a/django/core/serializers/json.py b/django/core/serializers/json.py index a8b4259099..72234a624b 100644 --- a/django/core/serializers/json.py +++ b/django/core/serializers/json.py @@ -48,4 +48,4 @@ class DateTimeAwareJSONEncoder(simplejson.JSONEncoder): elif isinstance(o, datetime.time): return o.strftime(self.TIME_FORMAT) else: - return super(self, DateTimeAwareJSONEncoder).default(o) \ No newline at end of file + return super(DateTimeAwareJSONEncoder, self).default(o)