mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-08-04 04:20:12 +03:00
Add allow_null serialization output note
This commit is contained in:
parent
97f7a82b37
commit
41a7ebe606
|
@ -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`
|
||||
|
|
Loading…
Reference in New Issue
Block a user