Skip to content
Browse files

Fixed #10954 -- Corrected error in docs example describing extending …

…the JSON serializer. Thanks to Glenn for the report.

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent fbf5eaa commit e85bc81651abfc417e57aadf3dd7bed137c80430 @freakboy3742 freakboy3742 committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 docs/topics/serialization.txt
2 docs/topics/serialization.txt
@@ -187,7 +187,7 @@ them. Something like this will work::
def default(self, obj):
if isinstance(obj, Promise):
return force_unicode(obj)
- return obj
+ return super(LazyEncoder, self).default(obj)
.. _special encoder:

0 comments on commit e85bc81

Please sign in to comment.
Something went wrong with that request. Please try again.