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
50
3841
January 19, 2024
save() behavior when updating model with default primary keys
Using the ORM
9
1385
May 3, 2024
update_or_create only if filed is empty
Using Django
4
2763
November 8, 2021
how to use update_or_create
Using Django
1
2664
December 22, 2020
get_or_create() and create() with unspecified non-nullable fields
Using the ORM
6
101
August 11, 2024