QuerySet.bulk_create() now supports updating fields when a row insertion fails uniqueness constraints. This is supported on MariaDB, MySQL, PostgreSQL, and SQLite 3.24+.
The update_conflicts, update_fields, and unique_fields parameters were added to support updating fields when a row insertion fails on conflict.
See Django 4.1 release notes: