mirror of
https://github.com/django/django.git
synced 2024-12-27 19:46:22 +00:00
271542dad1
A race condition happened when the object didn't already exist and another process/thread created the object before update_or_create() did and then attempted to update the object, also before update_or_create() saved the object. The update by the other process/thread could be lost.
14 lines
289 B
Plaintext
14 lines
289 B
Plaintext
==========================
|
|
Django 2.0.9 release notes
|
|
==========================
|
|
|
|
*Expected September 1, 2018*
|
|
|
|
Django 2.0.9 fixes a data loss bug in 2.0.8.
|
|
|
|
Bugfixes
|
|
========
|
|
|
|
* Fixed a race condition in ``QuerySet.update_or_create()`` that could result
|
|
in data loss (:ticket:`29499`).
|