mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Fixed #15091 -- Allowed passing custom encoder to JSON serializer.
This commit is contained in:
committed by
Tim Graham
parent
6bf7964023
commit
c1b6f554e4
@@ -206,6 +206,10 @@ Serialization
|
||||
* The new ``django.core.serializers.base.Serializer.stream_class`` attribute
|
||||
allows subclasses to customize the default stream.
|
||||
|
||||
* The encoder used by the :ref:`JSON serializer <serialization-formats-json>`
|
||||
can now be customized by passing a ``cls`` keyword argument to the
|
||||
``serializers.serialize()`` function.
|
||||
|
||||
Signals
|
||||
~~~~~~~
|
||||
|
||||
|
||||
Reference in New Issue
Block a user