Add allow_null serialization output note (#5641)

This commit is contained in:
Ryan P Kilby 2017-12-01 04:07:33 -05:00 committed by Carlton Gibson
parent 905a5579df
commit 5f42cb7027

View File

@ -45,6 +45,8 @@ Defaults to `True`.
Normally an error will be raised if `None` is passed to a serializer field. Set this keyword argument to `True` if `None` should be considered a valid value.
Note that setting this argument to `True` will imply a default value of `null` for serialization output, but does imply a default for input deserialization.
Defaults to `False`
### `default`