#34177 closed Bug (fixed)
QuerySet.bulk_create() crashes on "pk" in unique_fields.
Description (last modified by ) ¶
QuerySet.bulk_create()
crashes on "pk"
in unique_fields
which should be allowed.
File "/django/django/db/backends/utils.py", line 89, in _execute return self.cursor.execute(sql, params) django.db.utils.ProgrammingError: column "pk" does not exist LINE 1: ...S (3127, 3, 3, 'c'), (3128, 4, 4, 'd') ON CONFLICT("pk") DO ...
Change History (5)
comment:1 by , 2 years ago
Has patch: | set |
---|
comment:2 by , 2 years ago
Description: | modified (diff) |
---|
comment:3 by , 2 years ago
Triage Stage: | Unreviewed → Ready for checkin |
---|
Note:
See TracTickets
for help on using tickets.
PR