aboutsummaryrefslogtreecommitdiffstats
path: root/rest_framework/request.py
diff options
context:
space:
mode:
authorMathieu Pillard2013-11-05 17:21:18 +0100
committerMathieu Pillard2013-11-05 17:21:18 +0100
commit53258908210b1eabd0ee204653a589d6579ac772 (patch)
tree02a9b0d94c71e975bf62774415b494ad8622cc0e /rest_framework/request.py
parent003b9dda342e1fbb9b482a3103599e62cc458911 (diff)
downloaddjango-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 'rest_framework/request.py')
0 files changed, 0 insertions, 0 deletions