summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaximiliano <maxi.padulo@gmail.com>2015-06-01 10:16:36 +0200
committerTim Graham <timograham@gmail.com>2015-06-01 09:42:23 -0400
commitbf07ba523a9846fa9820b87321ef4222fed98e8c (patch)
tree1b3f8994b4e334213bfaf6bd386038f70b140e9c
parentd29ed3f355b0c57e7036807f1d54f33796d8d820 (diff)
downloaddjango-bf07ba523a9846fa9820b87321ef4222fed98e8c.tar.gz
Simplified wording in QuerySet.update() docs.
-rw-r--r--docs/topics/db/queries.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/topics/db/queries.txt b/docs/topics/db/queries.txt
index 28ddf660df..c7ff96c8e3 100644
--- a/docs/topics/db/queries.txt
+++ b/docs/topics/db/queries.txt
@@ -1021,8 +1021,8 @@ new value to be the new model instance you want to point to. For example::
The ``update()`` method is applied instantly and returns the number of rows
matched by the query (which may not be equal to the number of rows updated if
some rows already have the new value). The only restriction on the
-:class:`~django.db.models.query.QuerySet` that is updated is that it can only
-access one database table, the model's main table. You can filter based on
+:class:`~django.db.models.query.QuerySet` being updated is that it can only
+access one database table: the model's main table. You can filter based on
related fields, but you can only update columns in the model's main
table. Example::