diff options
| author | Tom Christie | 2015-01-05 15:04:23 +0000 | 
|---|---|---|
| committer | Tom Christie | 2015-01-05 15:04:23 +0000 | 
| commit | 949e3b7507ee4e7b0c571cb6a7eba076dee91a38 (patch) | |
| tree | dadb26c5c8c40b2aaafad85608470e50c10c1370 /docs/api-guide | |
| parent | 49dc037a961b618baf8eb189b094633238867b41 (diff) | |
| parent | 6fd33ddea9e5b8f9e979e573a27873131846ea48 (diff) | |
| download | django-rest-framework-949e3b7507ee4e7b0c571cb6a7eba076dee91a38.tar.bz2 | |
Merge branch 'master' into version-3.1
Diffstat (limited to 'docs/api-guide')
| -rw-r--r-- | docs/api-guide/fields.md | 2 | 
1 files changed, 2 insertions, 0 deletions
| diff --git a/docs/api-guide/fields.md b/docs/api-guide/fields.md index 946e355d..b3d274dd 100644 --- a/docs/api-guide/fields.md +++ b/docs/api-guide/fields.md @@ -41,6 +41,8 @@ Defaults to `False`  Normally an error will be raised if a field is not supplied during deserialization.  Set to false if this field is not required to be present during deserialization. +Setting this to `False` also allows the object attribute or dictionary key to be omitted from output when serializing the instance. If the key is not present it will simply not be included in the output representation. +  Defaults to `True`.  ### `allow_null` | 
