summaryrefslogtreecommitdiff
path: root/docs/ref/models
diff options
context:
space:
mode:
Diffstat (limited to 'docs/ref/models')
-rw-r--r--docs/ref/models/instances.txt2
-rw-r--r--docs/ref/models/querysets.txt4
2 files changed, 3 insertions, 3 deletions
diff --git a/docs/ref/models/instances.txt b/docs/ref/models/instances.txt
index 643e5c3957..4222979972 100644
--- a/docs/ref/models/instances.txt
+++ b/docs/ref/models/instances.txt
@@ -562,7 +562,7 @@ all of the model fields from being updated in the database. For example::
product.save(update_fields=['name'])
The ``update_fields`` argument can be any iterable containing strings. An
-empty ``update_fields`` iterable will skip the save. A value of None will
+empty ``update_fields`` iterable will skip the save. A value of ``None`` will
perform an update on all fields.
Specifying ``update_fields`` will force an update.
diff --git a/docs/ref/models/querysets.txt b/docs/ref/models/querysets.txt
index 85c6bf6b17..70a6989306 100644
--- a/docs/ref/models/querysets.txt
+++ b/docs/ref/models/querysets.txt
@@ -864,8 +864,8 @@ ambiguous datetimes in daylight saving time. By default (when ``is_dst=None``),
.. method:: none()
-Calling none() will create a queryset that never returns any objects and no
-query will be executed when accessing the results. A qs.none() queryset
+Calling ``none()`` will create a queryset that never returns any objects and no
+query will be executed when accessing the results. A ``qs.none()`` queryset
is an instance of ``EmptyQuerySet``.
Examples::