django1/tests/get_or_create
Michael Sanders 221ef69a9b [2.1.x] Fixed #29499 -- Fixed race condition in QuerySet.update_or_create().
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.

Backport of 271542dad1 from master
2018-08-02 17:17:12 -04:00
..
__init__.py
models.py [2.1.x] Fixed #29499 -- Fixed race condition in QuerySet.update_or_create(). 2018-08-02 17:17:12 -04:00
tests.py [2.1.x] Fixed #29499 -- Fixed race condition in QuerySet.update_or_create(). 2018-08-02 17:17:12 -04:00