Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
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...
commit 8f4552adf16f84d08b49706ab45a80551c58f0e6 1 parent bc78ffa
@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
@@ -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
-------------------------
Please sign in to comment.
Something went wrong with that request. Please try again.