Fixed #18257 -- Typo in contenttypes docs.

This commit is contained in:
Aymeric Augustin 2012-05-10 21:31:41 +02:00
parent 169b1a404c
commit c970bcf368
1 changed files with 1 additions and 1 deletions

View File

@ -328,7 +328,7 @@ Due to the way :class:`~django.contrib.contenttypes.generic.GenericForeignKey`
is implemented, you cannot use such fields directly with filters (``filter()``
and ``exclude()``, for example) via the database API. Because a
:class:`~django.contrib.contenttypes.generic.GenericForeignKey` isn't a
normal field objects, these examples will *not* work::
normal field object, these examples will *not* work::
# This will fail
>>> TaggedItem.objects.filter(content_object=guido)