From 03db5fddfd0c76303ec83eb1cd91a6d2dc4441cb Mon Sep 17 00:00:00 2001 From: Ville Skyttä Date: Sun, 14 Apr 2019 10:44:56 +0300 Subject: Fixed typos in docs, comments, and exception messages. --- docs/ref/models/lookups.txt | 2 +- docs/ref/models/querysets.txt | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'docs/ref/models') diff --git a/docs/ref/models/lookups.txt b/docs/ref/models/lookups.txt index c0e97e9fe6..aae5ba96c4 100644 --- a/docs/ref/models/lookups.txt +++ b/docs/ref/models/lookups.txt @@ -132,7 +132,7 @@ following methods: prominent example is ``__year`` that transforms a ``DateField`` into a ``IntegerField``. - The notation to use a ``Transform`` in an lookup expression is + The notation to use a ``Transform`` in a lookup expression is ``__`` (e.g. ``date__year``). This class follows the :ref:`Query Expression API `, which diff --git a/docs/ref/models/querysets.txt b/docs/ref/models/querysets.txt index 8485d436e1..6428576cbc 100644 --- a/docs/ref/models/querysets.txt +++ b/docs/ref/models/querysets.txt @@ -1737,7 +1737,8 @@ raised if ``select_for_update()`` is used in autocommit mode. Takes a raw SQL query, executes it, and returns a ``django.db.models.query.RawQuerySet`` instance. This ``RawQuerySet`` instance -can be iterated over just like an normal ``QuerySet`` to provide object instances. +can be iterated over just like a normal ``QuerySet`` to provide object +instances. See the :doc:`/topics/db/sql` for more information. -- cgit v1.3