Explorar o código

Removed unused import from the JSON serialization example.

This is a leftover from 5612f54bd56086e2a375e86474ec734c172e7d1f.
Berker Peksag %!s(int64=10) %!d(string=hai) anos
pai
achega
e55fc60f81
Modificáronse 1 ficheiros con 0 adicións e 1 borrados
  1. 0 1
      docs/topics/serialization.txt

+ 0 - 1
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