Ticket #20958: patch.diff

File patch.diff, 675 bytes (added by Mark Young, 11 years ago)
  • docs/ref/contrib/contenttypes.txt

    diff --git a/docs/ref/contrib/contenttypes.txt b/docs/ref/contrib/contenttypes.txt
    index bfe92b8..a996387 100644
    a b creating a ``TaggedItem``::  
    349349
    350350Due to the way :class:`~django.contrib.contenttypes.generic.GenericForeignKey`
    351351is implemented, you cannot use such fields directly with filters (``filter()``
    352 and ``exclude()``, for example) via the database API. Because a
     352and ``exclude()``, for example) via the database API or in forms. Because a
    353353:class:`~django.contrib.contenttypes.generic.GenericForeignKey` isn't a
    354354normal field object, these examples will *not* work::
    355355
Back to Top