Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

…essed in forms.

Thanks marky1991.
  • Loading branch information...
commit 533d1ab334219d1c0d7791f94d71df771ef8ce76 1 parent 1ccdc08
@timgraham timgraham authored
Showing with 3 additions and 0 deletions.
  1. +3 −0  docs/ref/contrib/contenttypes.txt
View
3  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
-------------------------
Please sign in to comment.
Something went wrong with that request. Please try again.