From d5cef2a19c5a70766693264d08605f56d26e573d Mon Sep 17 00:00:00 2001 From: Shai Berger Date: Thu, 10 Apr 2014 03:40:33 +0300 Subject: [1.6.x] Documentation fixes for the select_for_update change. Refs #22343; thanks Tim Graham for the fixes. --- docs/ref/models/querysets.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/ref') diff --git a/docs/ref/models/querysets.txt b/docs/ref/models/querysets.txt index 14e2cfac18..a7bbf4d290 100644 --- a/docs/ref/models/querysets.txt +++ b/docs/ref/models/querysets.txt @@ -1314,7 +1314,7 @@ do not support ``nowait``, such as MySQL, will cause a :exc:`~django.db.DatabaseError` to be raised. This is in order to prevent code unexpectedly blocking. -Executing a queryset with ``select_for_update`` in autocommit mode is +Evaluating a queryset with ``select_for_update`` in autocommit mode is an error because the rows are then not locked. If allowed, this would facilitate data corruption, and could easily be caused by calling, outside of any transaction, code that expects to be run in one. -- cgit v1.3