diff --git a/rest_framework/serializers.py b/rest_framework/serializers.py index f3e89abab..ce28d0b93 100644 --- a/rest_framework/serializers.py +++ b/rest_framework/serializers.py @@ -291,8 +291,6 @@ class BaseSerializer(WritableField): """ Get the corresponding object to deserialize the data into. """ - if self.unused_objects is None: return None - # Just get the first object in the list. if self.unused_objects: obj = self.unused_objects[0]