Permalink
Browse files

Fixed #20958 -- Documented that GenericForeignKey fields can't be acc…

…essed in forms.

Thanks marky1991.
  • Loading branch information...
1 parent 1ccdc08 commit 533d1ab334219d1c0d7791f94d71df771ef8ce76 @timgraham timgraham committed Sep 4, 2013
Showing with 3 additions and 0 deletions.
  1. +3 −0 docs/ref/contrib/contenttypes.txt
@@ -358,6 +358,9 @@ normal field object, these examples will *not* work::
# This will also fail
>>> TaggedItem.objects.get(content_object=guido)
+Likewise, :class:`~django.contrib.contenttypes.generic.GenericForeignKey`\s
+does not appear in :class:`~django.forms.ModelForm`\s.
+
Reverse generic relations
-------------------------

0 comments on commit 533d1ab

Please sign in to comment.