tomchristie/django-rest-framework — pull request #1074 by diox (2013-08-29 16:13:09+00:00)
Title: Make ChoiceField.from_native() follow IntegerField behaviour on empty values

Currently, if you pass an empty value when de-serializing a ChoiceField, it skips validation and ends up on the instance, which makes the save() call fail if the field can't accept empty string values (e.g. it's an IntegerField)

Discussed on IRC and here : https://groups.google.com/forum/#!msg/django-rest-framework/g3Mnp7YY5hU/_LwTqKf8-Z0J