diff options
| author | tschilling <schillingt@better-simple.com> | 2023-01-30 20:39:15 -0600 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2023-02-14 11:50:35 +0100 |
| commit | c5808470aaffda661cb911b06d5b848dd7b75467 (patch) | |
| tree | fd4e8b25bf9a7fee05cd61f27c6536a57f134a16 /tests/get_or_create/models.py | |
| parent | ecafcaf634fcef93f9da8cb12795273dd1c3a576 (diff) | |
Fixed #34280 -- Allowed specifying different field values for create operation in QuerySet.update_or_create().
Diffstat (limited to 'tests/get_or_create/models.py')
| -rw-r--r-- | tests/get_or_create/models.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/get_or_create/models.py b/tests/get_or_create/models.py index 6875671501..c5ba90a231 100644 --- a/tests/get_or_create/models.py +++ b/tests/get_or_create/models.py @@ -6,6 +6,7 @@ class Person(models.Model): last_name = models.CharField(max_length=100) birthday = models.DateField() defaults = models.TextField() + create_defaults = models.TextField() class DefaultPerson(models.Model): |
