diff --git a/django/db/models/base.py b/django/db/models/base.py index 1ddbde9393b..18ee0b49113 100644 --- a/django/db/models/base.py +++ b/django/db/models/base.py @@ -457,11 +457,6 @@ class Model(metaclass=ModelBase): val = kwargs.pop(field.attname) except KeyError: val = field.get_default() - else: - # Object instance was passed in. Special case: You can - # pass in "None" for related objects if it's allowed. - if rel_obj is None and field.null: - val = None else: try: val = kwargs.pop(field.attname)