#10331: Using model InlineFormset created with inlineformset_factory fails with
KeyError
--------------------------------------------------------+-------------------
Reporter: Thomas Presthus <[email protected]> | Owner: nobody
Status: closed | Milestone:
Component: Forms | Version: SVN
Resolution: invalid | Keywords:
Stage: Unreviewed | Has_patch: 1
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
--------------------------------------------------------+-------------------
Changes (by brosner):
* status: new => closed
* resolution: => invalid
Comment:
I would suspect the foreign key to `User` is marked as `editable=False`
which is incorrect. That would explain why `form.fields` does not contain
that key. Marking invalid. Reopen if this is not the case.
--
Ticket URL: <http://code.djangoproject.com/ticket/10331#comment:2>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---