Commit e55fc60f authored by Berker Peksag's avatar Berker Peksag Committed by Simon Charette
Browse files

Removed unused import from the JSON serialization example.

This is a leftover from 5612f54b.
parent 494ba051
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -247,7 +247,6 @@ Be aware that not all Django output can be passed unmodified to :mod:`json`.
In particular, :ref:`lazy translation objects <lazy-translations>` need a
`special encoder`_ written for them. Something like this will work::

    import json
    from django.utils.functional import Promise
    from django.utils.encoding import force_text
    from django.core.serializers.json import DjangoJSONEncoder