Ticket #8924: 8924.diff

File 8924.diff, 767 bytes (added by arien, 16 years ago)

Patch to fix the reported typo and change objetcs to objects.

  • docs/topics/db/queries.txt

     
    336336       
    337337            >>> Entry.objects.get(headline__exact="Man bites dog")
    338338
    339         World generate SQL along these lines:
     339        Would generate SQL along these lines:
    340340       
    341341        .. code-block:: sql
    342342
     
    428428also those which have an empty ``author`` on the ``entry``. If you don't want
    429429those latter objects, you could write::
    430430
    431     Blog.objetcs.filter(entry__author__isnull=False,
     431    Blog.objects.filter(entry__author__isnull=False,
    432432            entry__author__name__isnull=True)
    433433
    434434Spanning multi-valued relationships
Back to Top