From 41a7ebe606a024beee6eec35b99d22b4dbbd525d Mon Sep 17 00:00:00 2001 From: Ryan P Kilby Date: Fri, 1 Dec 2017 03:57:34 -0500 Subject: [PATCH] Add allow_null serialization output note --- docs/api-guide/fields.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/api-guide/fields.md b/docs/api-guide/fields.md index d209a945b..8d61f2cbc 100644 --- a/docs/api-guide/fields.md +++ b/docs/api-guide/fields.md @@ -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`