diff options
| author | Tim Graham <timograham@gmail.com> | 2013-09-04 13:18:08 -0400 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2013-09-04 13:18:08 -0400 |
| commit | 533d1ab334219d1c0d7791f94d71df771ef8ce76 (patch) | |
| tree | 57016bf9f965826a5bff4b1e8f16a4f450a95cd2 /docs | |
| parent | 1ccdc08189fd509ba87a4d916173baff7b2642a5 (diff) | |
Fixed #20958 -- Documented that GenericForeignKey fields can't be accessed in forms.
Thanks marky1991.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/ref/contrib/contenttypes.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/ref/contrib/contenttypes.txt b/docs/ref/contrib/contenttypes.txt index 21e65f168b..58a309c17d 100644 --- a/docs/ref/contrib/contenttypes.txt +++ b/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 ------------------------- |
