From e55fc60f81ecbd5810991784f27c145edfbd35b2 Mon Sep 17 00:00:00 2001 From: Berker Peksag Date: Wed, 22 Oct 2014 06:06:29 +0300 Subject: [PATCH] Removed unused import from the JSON serialization example. This is a leftover from 5612f54bd56086e2a375e86474ec734c172e7d1f. --- docs/topics/serialization.txt | 1 - 1 file changed, 1 deletion(-) diff --git a/docs/topics/serialization.txt b/docs/topics/serialization.txt index 225a6b07360..11076c8027a 100644 --- a/docs/topics/serialization.txt +++ b/docs/topics/serialization.txt @@ -247,7 +247,6 @@ Be aware that not all Django output can be passed unmodified to :mod:`json`. In particular, :ref:`lazy translation objects ` 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