Changes between Version 1 and Version 2 of Ticket #35014, comment 3
- Timestamp:
- Dec 5, 2023, 3:13:00 PM (12 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #35014, comment 3
v1 v2 1 Also, in general, I don't think its a bad idea to have a little control over the way that update_or_create calls the save method. It's not overly complicated to give a little flexibility in that regard. This is a little out of scope of the original ticket. But wouldn't it be kind of neat if update_or_create could pass along additional kwargs to your custom save method? I know have plenty of use cases for that.1 Also, in general, I don't think its a bad idea to have a little control over the way that update_or_create calls the save method. It's not overly complicated to give a little flexibility in that regard. This is a little out of scope of the original ticket. But wouldn't it be kind of neat if update_or_create could pass along additional kwargs to your custom save method? I know I have plenty of use cases for that.