Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
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...
commit e85bc81651abfc417e57aadf3dd7bed137c80430 1 parent fbf5eaa
Russell Keith-Magee freakboy3742 authored
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:
Please sign in to comment.
Something went wrong with that request. Please try again.