mirror of
https://github.com/django/django.git
synced 2024-12-22 17:16:24 +00:00
d35ce682e3
The lack of _for_write = True assignment in bulk_update prior to accessing self.db resulted in the db_for_read database being used to wrap batched UPDATEs in a transaction. Also tweaked the batch queryset creation to also ensure they are executed against the same database as the opened transaction under all circumstances. Refs #23646, #33501. |
||
---|---|---|
.. | ||
__init__.py | ||
models.py | ||
test_bulk_update.py | ||
test_contains.py | ||
test_db_returning.py | ||
test_explain.py | ||
test_iterator.py | ||
test_q.py | ||
test_qs_combinators.py | ||
test_query.py | ||
test_sqlcompiler.py | ||
tests.py |