diff options
| author | Berker Peksag <berker.peksag@gmail.com> | 2014-10-22 06:06:29 +0300 |
|---|---|---|
| committer | Simon Charette <charette.s@gmail.com> | 2014-10-21 23:49:40 -0400 |
| commit | e55fc60f81ecbd5810991784f27c145edfbd35b2 (patch) | |
| tree | 22b3d982350431af3ba31dae8c4a5030917489e1 | |
| parent | 494ba051bb0d3ebbdbea7598251b1ee6fe9b69b4 (diff) | |
Removed unused import from the JSON serialization example.
This is a leftover from 5612f54bd56086e2a375e86474ec734c172e7d1f.
| -rw-r--r-- | docs/topics/serialization.txt | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/docs/topics/serialization.txt b/docs/topics/serialization.txt index 225a6b0736..11076c8027 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 <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 |
