summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorEd Bartosh <eduard.bartosh@intel.com>2015-12-09 14:18:44 +0200
committerTim Graham <timograham@gmail.com>2015-12-14 19:41:11 -0500
commit423b3afce431fd0a1d683bca9b2b80a1c4e3c8ca (patch)
treeadef37d273518c170151df6cae1fbdf5a762b4f9 /docs
parent5146e2cf984a83c2eb9d8102ea73ee0792a9528b (diff)
Fixed #25939 -- Removed redundant transaction in QuerySet.update_or_create().
There is no need to wrap the save() call in transaction.atomic() as it's already done down the call stack in Model.save_base().
Diffstat (limited to 'docs')
-rw-r--r--docs/releases/1.10.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/releases/1.10.txt b/docs/releases/1.10.txt
index 853955f936..10a517f82d 100644
--- a/docs/releases/1.10.txt
+++ b/docs/releases/1.10.txt
@@ -363,6 +363,10 @@ Miscellaneous
:class:`~django.http.HttpResponse` are now closed immediately instead of when
the WSGI server calls ``close()`` on the response.
+* A redundant ``transaction.atomic()`` call in ``QuerySet.update_or_create()``
+ is removed. This may affect query counts tested by
+ ``TransactionTestCase.assertNumQueries()``.
+
.. _deprecated-features-1.10:
Features deprecated in 1.10