#20958 closed Cleanup/optimization (fixed)
Mention That GenericForeignKey Fields Can't Be Accessed in Forms
Reported by: | Mark Young | Owned by: | nobody |
---|---|---|---|
Component: | Documentation | Version: | 1.5 |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Accepted | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | yes | UI/UX: | no |
Description
Any attempt to use GenericForeignKey fields in forms fails with an exception of this form
django.core.exceptions.FieldError: Unknown field(s) (recipient) specified for Message
. This limitation is not mentioned in the docs. My patch corrects this. (It's a trivial two word addition)
Attachments (1)
Change History (5)
by , 11 years ago
Attachment: | patch.diff added |
---|
comment:1 by , 11 years ago
Triage Stage: | Unreviewed → Accepted |
---|---|
Type: | Uncategorized → Cleanup/optimization |
comment:2 by , 11 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
In 533d1ab334219d1c0d7791f94d71df771ef8ce76: