Changes between Initial Version and Version 1 of Ticket #36213


Ignore:
Timestamp:
Feb 24, 2025, 7:21:01 PM (6 hours ago)
Author:
Babak
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #36213 – Description

    initial v1  
    1111This will **silently cause nasty race conditions** since the update is no longer running as a single SQL statement.
    1212
    13 Currently the docs for `QuerySet.update` say:
     13Currently the [https://docs.djangoproject.com/en/5.1/ref/models/querysets/#django.db.models.query.QuerySet.update docs] for `QuerySet.update` say:
    1414
    1515   Using update() also prevents a race condition wherein something might change in your database in the short period of time between loading the object and calling save().
Back to Top