Commit c970bcf3 authored by Aymeric Augustin's avatar Aymeric Augustin
Browse files

Fixed #18257 -- Typo in contenttypes docs.

parent 169b1a40
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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)