summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to '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 119374c0ed..1460fb21ad 100644
--- a/docs/topics/db/queries.txt
+++ b/docs/topics/db/queries.txt
@@ -336,7 +336,7 @@ you'll probably use:
>>> Entry.objects.get(headline__exact="Man bites dog")
- World generate SQL along these lines:
+ Would generate SQL along these lines:
.. code-block:: sql
@@ -428,7 +428,7 @@ will return ``Blog`` objects that have an empty ``name`` on the ``author`` and
also those which have an empty ``author`` on the ``entry``. If you don't want
those latter objects, you could write::
- Blog.objetcs.filter(entry__author__isnull=False,
+ Blog.objects.filter(entry__author__isnull=False,
entry__author__name__isnull=True)
Spanning multi-valued relationships