Skip to content

Conversation

@pritish717
Copy link

save() got an unexpected keyword argument 'force_insert'

When you are overriding model's save method in Django, you should also pass *args and **kwargs to overridden method. this code may work fine:

https://stackoverflow.com/questions/52351756/django-typeerror-save-got-an-unexpected-keyword-argument-force-insert

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant