Permalink
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...
1 parent 33637e3 commit e7424f0619361873da7a62af0a58a6ba5785f8fa @adrianholovaty adrianholovaty committed Aug 28, 2006
Showing with 1 addition and 1 deletion.
  1. +1 −1 django/core/serializers/json.py
View
2 django/core/serializers/json.py
@@ -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)

0 comments on commit e7424f0

Please sign in to comment.