mirror of
https://github.com/django/django.git
synced 2025-12-04 00:55:36 +00:00
Fixed #34280 -- Allowed specifying different field values for create operation in QuerySet.update_or_create().
This commit is contained in:
parent
ecafcaf634
commit
c5808470aa
8 changed files with 212 additions and 27 deletions
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue