1
0
mirror of https://github.com/django/django.git synced 2025-01-13 11:57:01 +00:00
django/tests/get_or_create
Michael Sanders 271542dad1 Fixed -- 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.
2018-08-02 17:07:48 -04:00
..
__init__.py Merged regressiontests and modeltests into the test root. 2013-02-26 14:36:57 +01:00
models.py Fixed -- Fixed race condition in QuerySet.update_or_create(). 2018-08-02 17:07:48 -04:00
tests.py Fixed -- Fixed race condition in QuerySet.update_or_create(). 2018-08-02 17:07:48 -04:00