| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2025-04-05 | Refs #36088, Refs #36260 - Added supports_expression_defaults checks in ↵ | Tim Graham | |
| bulk_create() tests. | |||
| 2025-03-26 | Fixed #36260 -- Made bulk_create() work with DB-generated primary keys. | Dmitry Shachnev | |
| Co-authored-by: Simon Charette <charette.s@gmail.com> | |||
| 2025-02-01 | Fixed #36088 -- Avoided unnecessary DEFAULT usage on bulk_create(). | Simon Charette | |
| When all values of a field with a db_default are DatabaseDefault, which is the case most of the time, there is no point in specifying explicit DEFAULT for all INSERT VALUES as that's what the database will do anyway if not specified. In the case of PostgreSQL doing so can even be harmful as it prevents the usage of the UNNEST strategy and in the case of Oracle, which doesn't support the usage of the DEFAULT keyword, it unnecessarily requires providing literal db defaults. Thanks Lily Foote for the review. | |||
| 2022-11-22 | Fixed #34171 -- Fixed QuerySet.bulk_create() on fields with db_column in ↵ | DevilsAutumn | |
| unique_fields/update_fields. Bug in 0f6946495a8ec955b471ca1baaf408ceb53d4796. Thanks Joshua Brooks for the report. | |||
| 2022-02-07 | Refs #33476 -- Reformatted code with Black. | django-bot | |
| 2022-01-19 | Fixed #31685 -- Added support for updating conflicts to QuerySet.bulk_create(). | sean_c_hsu | |
| Thanks Florian Apolloner, Chris Jerdonek, Hannes Ljungberg, Nick Pope, and Mariusz Felisiak for reviews. | |||
| 2021-01-14 | Refs #31369 -- Removed models.NullBooleanField per deprecation timeline. | Mariusz Felisiak | |
| 2020-02-28 | Fixed #31301 -- Fixed crash of QuerySet.bulk_create() with mixed empty and ↵ | Hans Aarne Liblik | |
| set ForeignKeys to AutoFields on Oracle. | |||
| 2019-11-19 | Fixed #30987 -- Added models.PositiveBigIntegerField. | Caio Ariede | |
| 2018-03-20 | Fixed #29227 -- Allowed BooleanField to be null=True. | Tim Graham | |
| Thanks Lynn Cyrin for contributing to the patch, and Nick Pope for review. | |||
| 2017-02-24 | Refs #22144 -- Added test for QuerySet.bulk_create() with long non-ASCII text. | Mariusz Felisiak | |
| 2017-02-13 | Refs #22669 -- Fixed bulk_create test if Pillow isn't installed. | Vytis Banaitis | |
| 2017-02-09 | Fixed #22669 -- Fixed QuerySet.bulk_create() with empty model fields on Oracle. | Mikhail Nacharov | |
| 2015-10-09 | Fixed #22705 -- Fixed QuerySet.bulk_create() on models without any fields on ↵ | Tim Graham | |
| Oracle. Fixed on other backends by 134ca4d438bd7cbe8f0f287a00d545f96fa04a01. Thanks Mariusz Felisiak for the solution. | |||
| 2015-07-02 | Fixed #24997 -- Enabled bulk_create() on proxy models | William Schwartz | |
| 2013-11-02 | PEP8 cleanup | Jason Myers | |
| Signed-off-by: Jason Myers <jason@jasonamyers.com> | |||
| 2013-02-26 | Merged regressiontests and modeltests into the test root. | Florian Apolloner | |
