diff options
| author | Mathieu Pillard | 2013-11-05 17:21:18 +0100 |
|---|---|---|
| committer | Mathieu Pillard | 2013-11-05 17:21:18 +0100 |
| commit | 53258908210b1eabd0ee204653a589d6579ac772 (patch) | |
| tree | 02a9b0d94c71e975bf62774415b494ad8622cc0e /docs/api-guide/serializers.md | |
| parent | 003b9dda342e1fbb9b482a3103599e62cc458911 (diff) | |
| download | django-rest-framework-53258908210b1eabd0ee204653a589d6579ac772.tar.bz2 | |
Improve handling of 'empty' values for ChoiceField
The empty value defaults back to '' (for backwards-compatibility) but
is changed automatically to None for ModelSerializers if the `null`
property is set on the db field.
Diffstat (limited to 'docs/api-guide/serializers.md')
0 files changed, 0 insertions, 0 deletions
