[Answer]-Django Error while inserting null into date field

1👍

✅

You should not set the value to "null", set it to None:

loggedInUser.Birthday = None
loggedInUser.save()

For this to work Birthday model field show be defined with null=True.

See also:

Leave a comment