Skip to content

Commit e7424f0

Browse files
Fixed django#2607 -- Fixed incorrect ordering of super() arguments in DateTimeAwareJSONEncoder. Thanks for the patch, [email protected]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3671 bcc190cf-cafb-0310-a4f2-bffc1f526a37
1 parent 33637e3 commit e7424f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

django/core/serializers/json.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,4 +48,4 @@ def default(self, o):
4848
elif isinstance(o, datetime.time):
4949
return o.strftime(self.TIME_FORMAT)
5050
else:
51-
return super(self, DateTimeAwareJSONEncoder).default(o)
51+
return super(DateTimeAwareJSONEncoder, self).default(o)

0 commit comments

Comments
 (0)