#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
-------------------------------------+-------------------------------------
Changes (by Sarah Boyce):
* resolution: wontfix =>
* status: closed => new
* summary:
AssertionError raised when bulk creation model with primary key set
via pre_save (e.g. auto_now_add)
=>
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
* version: 5.2 => dev
Comment:
Looked into it more and found this is only an issue for databases with
`can_return_columns_from_insert` set to `True` (so is allowed on MySQL for
example)
--
Ticket URL: <https://code.djangoproject.com/ticket/36550#comment:7>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/django-updates/01070198a8d00dd9-7e54bded-e74b-4c0d-8f85-3bac00f4fcba-000000%40eu-central-1.amazonses.com.