Skip to content
Browse files

[1.6.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 fe0eb2f commit cda4fc822575168e85fcf5fbf8b4d524e1d6e0d3 @timgraham timgraham committed
Showing with 3 additions and 0 deletions.
  1. +3 −0 docs/ref/contrib/contenttypes.txt
3 docs/ref/contrib/contenttypes.txt
@@ -369,6 +369,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 cda4fc8

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