From 165b55828a1fb2d9d9dff4e4b98b0c912556473e Mon Sep 17 00:00:00 2001 From: Gary Wilson Jr Date: Sun, 7 Sep 2008 18:46:11 +0000 Subject: [PATCH] Fixed #8924 -- Corrected a couple typos in queries documentation, thanks arien. git-svn-id: http://code.djangoproject.com/svn/django/trunk@8978 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- docs/topics/db/queries.txt | 4 ++-- 1 file 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