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