#8813: BaseInlineFormSet unable to save existing objects
-------------------------------+--------------------------------------------
Reporter: tobias | Owner: jkocherhans
Status: assigned | Milestone: 1.1
Component: Forms | Version: SVN
Resolution: | Keywords:
Stage: Accepted | Has_patch: 0
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
-------------------------------+--------------------------------------------
Changes (by jkocherhans):
* owner: nobody => jkocherhans
* status: new => assigned
Comment:
Part of the problem here is that you're using {{{auto_created=True}}} on
your primary key fields. {{{auto_created}}} means that the *field* was
auto_created, not that the *value* will be. Taking that off results in
another error though, which occurs because a hidden field is not added to
the form unless the primary key is {{{auto_created}}} or is an
{{{AutoField}}}. I have a fix for both problems in my branch related to
#9284.
--
Ticket URL: <http://code.djangoproject.com/ticket/8813#comment:9>
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
-~----------~----~----~----~------~----~------~--~---