Django Forum
Feature idea: update_or_create to allow different defaults for create and update operations.
Django Internals
ORM
adamchainz
January 21, 2023, 9:48am
15
make a separate ticket?
3 Likes
show post in topic
Related Topics
Topic
Replies
Views
Activity
update_or_create Behavior
ORM
51
1910
January 19, 2024
save() behavior when updating model with default primary keys
Using the ORM
9
134
May 3, 2024
update_or_create only if filed is empty
Using Django
4
2225
November 8, 2021
how to use update_or_create
Using Django
1
1778
December 22, 2020
AutoField unique constraint violation when using get_or_create on a 'not-default' database...?
Using the ORM
12
2035
November 11, 2022