Skip to content

Commit

Permalink
[1.0.X] Fixed #10954 -- Corrected error in docs example describing ex…
Browse files Browse the repository at this point in the history
…tending the JSON serializer. Thanks to Glenn for the report.

Merge of r10654 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10656 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information
freakboy3742 committed May 2, 2009
1 parent d22290b commit 5f730de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/topics/serialization.txt
Expand Up @@ -181,6 +181,6 @@ 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: http://svn.red-bean.com/bob/simplejson/tags/simplejson-1.7/docs/index.html

0 comments on commit 5f730de

Please sign in to comment.