0
0
mirror of https://github.com/django/django.git synced 2024-12-01 15:42:04 +01:00

Removed unused import from the JSON serialization example.

This is a leftover from 5612f54bd5.
This commit is contained in:
Berker Peksag 2014-10-22 06:06:29 +03:00 committed by Simon Charette
parent 494ba051bb
commit e55fc60f81

View File

@ -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