#36550: AssertionError raised when bulk creation model with primary key set via
pre_save (e.g. auto_now_add) on databases with
can_return_columns_from_insert
-------------------------------------+-------------------------------------
Reporter: Will-Ruddick | Owner: (none)
Type: Bug | Status: new
Component: Database layer | Version: dev
(models, ORM) |
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Jacob Walls):
Thanks. Jason, given Sarah's investigation, it looks like inserting logic
to set the value is not necessary, since this already works on some
databases.
--
Ticket URL: <
https://code.djangoproject.com/ticket/36550#comment:8>
Django <
https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.