1
0
mirror of https://github.com/django/django.git synced 2025-10-31 09:41:08 +00:00

Fixed #25468 -- Made DjangoJSONEncoder lazy string aware

Thanks Stavros Korokithakis for the report and Tim Graham for the
review.
This commit is contained in:
Claude Paroz
2015-09-26 20:15:26 +02:00
parent 87630bc304
commit b7ade64529
4 changed files with 28 additions and 5 deletions

View File

@@ -162,6 +162,12 @@ Requests and Responses
* ...
Serialization
^^^^^^^^^^^^^
* The ``django.core.serializers.json.DjangoJSONEncoder`` now knows how to
serialize lazy strings, typically used for translatable content.
Signals
^^^^^^^