ModelSerializer save method - add update_fields
parameter on instance save
#9169
Unanswered
apsabareesh
asked this question in
Ideas & Suggestions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
As of latest django, it is recommended to call instance save method by explicitly specifying
update_fields
parameter with only required fields in the instance to update. Can' that be included in rest framework. Since django now uses that in their update_or_create method itelf. ReferenceBeta Was this translation helpful? Give feedback.
All reactions