-
-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
overriding save() method #48
Comments
I think beet practice is using *args, **kwargs, do you work on this issue? |
Yes |
MAM-SYS
added a commit
to MAM-SYS/backend
that referenced
this issue
Jun 7, 2021
MAM-SYS
added a commit
to MAM-SYS/backend
that referenced
this issue
Jun 7, 2021
Closed by #49 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
hello guys, hope you are all fine
i faced an issue about overriding some of save() method in some models like Industry or Company
i think save() method in these models doesn't have all necessary parameters(just have force_update and force_update)
so i face with this error when try to create an instance of these models:
i think we should pass all parameters save(self, force_insert=False, force_update=False, using=None, update_fields=None)
or save(self, *args, **kwargs)
am i right?
sorry if i disturb a lot
The text was updated successfully, but these errors were encountered: