Skip to content
Browse files

[1.5.x] Fixed #20958 -- Documented that GenericForeignKey fields can'…

…t be accessed in forms.

Thanks marky1991.

Backport of 533d1ab from master
  • Loading branch information...
1 parent bc78ffa commit 8f4552adf16f84d08b49706ab45a80551c58f0e6 @timgraham timgraham committed
Showing with 3 additions and 0 deletions.
  1. +3 −0 docs/ref/contrib/contenttypes.txt
3 docs/ref/contrib/contenttypes.txt
@@ -359,6 +359,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 8f4552a

Please sign in to comment.
Something went wrong with that request. Please try again.