summaryrefslogtreecommitdiff
path: root/docs/ref
diff options
context:
space:
mode:
authorAnssi Kääriäinen <akaariai@gmail.com>2012-09-30 02:43:47 +0300
committerAnssi Kääriäinen <akaariai@gmail.com>2012-09-30 02:45:50 +0300
commitdad7eec6e1c1770f5d81d5c5ed2de296c1eca969 (patch)
tree3bb301bc4da957ed8940d9ffd3e323793a80d376 /docs/ref
parent10e505b1b37f29c9ac6567134c48677b042c2a87 (diff)
Corrected links to only()/defer() in Model documentation
Refs #18306
Diffstat (limited to 'docs/ref')
-rw-r--r--docs/ref/models/instances.txt9
1 files changed, 5 insertions, 4 deletions
diff --git a/docs/ref/models/instances.txt b/docs/ref/models/instances.txt
index 2fdc87df8c..92fc4ef31a 100644
--- a/docs/ref/models/instances.txt
+++ b/docs/ref/models/instances.txt
@@ -387,10 +387,11 @@ perform an update on all fields.
Specifying ``update_fields`` will force an update.
When saving a model fetched through deferred model loading
-(:meth:`~Model.only()` or :meth:`~Model.defer()`) only the fields loaded from
-the DB will get updated. In effect there is an automatic ``update_fields`` in
-this case. If you assign or change any deferred field value, these fields will
-be added to the updated fields.
+(:meth:`~django.db.models.query.QuerySet.only()` or
+:meth:`~django.db.models.query.QuerySet.defer()`) only the fields loaded
+from the DB will get updated. In effect there is an automatic
+``update_fields`` in this case. If you assign or change any deferred field
+value, the field will be added to the updated fields.
Deleting objects
================