1
0
mirror of https://github.com/django/django.git synced 2024-12-23 01:25:58 +00:00

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

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)