diff options
| author | Ville Skyttä <ville.skytta@iki.fi> | 2019-04-14 10:44:56 +0300 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2019-04-18 09:33:53 +0200 |
| commit | 03db5fddfd0c76303ec83eb1cd91a6d2dc4441cb (patch) | |
| tree | e269b21b92c6b771ddc0f8e08fc7a1a6ad62643a /docs/ref/models | |
| parent | 177fa08339c4908afbefbda5dceabe72641ec915 (diff) | |
Fixed typos in docs, comments, and exception messages.
Diffstat (limited to 'docs/ref/models')
| -rw-r--r-- | docs/ref/models/lookups.txt | 2 | ||||
| -rw-r--r-- | docs/ref/models/querysets.txt | 3 |
2 files changed, 3 insertions, 2 deletions
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 ``<expression>__<transformation>`` (e.g. ``date__year``). This class follows the :ref:`Query Expression API <query-expression>`, 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. |
