* owner: nobody => Thomas C
* status: new => assigned
Comment:
Sure I will.
--
Ticket URL: <https://code.djangoproject.com/ticket/34698#comment:2>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
Comment (by Mariusz Felisiak):
Replying to [comment:2 Thomas C]:
> Sure I will.
Thanks. About tests, it should be enough to add some assertions to
existing tests: `_test_update_conflicts_two_fields()`,
`test_update_conflicts_unique_fields_pk()`,
`_test_update_conflicts_unique_two_fields()`, `_test_update_conflicts()`,
and `test_update_conflicts_unique_fields_update_fields_db_column()` when
`connection.features.can_return_rows_from_bulk_insert` is True.
--
Ticket URL: <https://code.djangoproject.com/ticket/34698#comment:3>
* has_patch: 0 => 1
Comment:
See https://github.com/django/django/pull/17051
--
Ticket URL: <https://code.djangoproject.com/ticket/34698#comment:4>
* stage: Accepted => Ready for checkin
--
Ticket URL: <https://code.djangoproject.com/ticket/34698#comment:5>
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"89c7454dbdae3e0df6d96aa6132205d05e4a9b3d" 89c7454]:
{{{
#!CommitTicketReference repository=""
revision="89c7454dbdae3e0df6d96aa6132205d05e4a9b3d"
Fixed #34698 -- Made QuerySet.bulk_create() retrieve primary keys when
updating conflicts.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/34698#comment:6>