Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed #2607 -- Fixed incorrect ordering of super() arguments in DateT…

…imeAwareJSONEncoder. Thanks for the patch, dummy@habmalnefrage.de

git-svn-id: http://code.djangoproject.com/svn/django/trunk@3671 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit e7424f0619361873da7a62af0a58a6ba5785f8fa 1 parent 33637e3
Adrian Holovaty adrianholovaty authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  django/core/serializers/json.py
2  django/core/serializers/json.py
View
@@ -48,4 +48,4 @@ def default(self, o):
elif isinstance(o, datetime.time):
return o.strftime(self.TIME_FORMAT)
else:
- return super(self, DateTimeAwareJSONEncoder).default(o)
+ return super(DateTimeAwareJSONEncoder, self).default(o)
Please sign in to comment.
Something went wrong with that request. Please try again.