#9025: Nested Inline Support in Admin
-------------------------------+------------------------------------
Reporter: pixelcort | Owner: Gargamel
Type: New feature | Status: assigned
Component: contrib.admin | Version: master
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 1 | Patch needs improvement: 1
Easy pickings: 0 | UI/UX: 1
-------------------------------+------------------------------------
Comment (by bjola):
Here's a list of problems with current code. (Some of these repeat the
bugs reported above, some are new).
1. If all extra attributes are set to 0, as mentioned above, saving an
inline results in "ManagementForm data is missing or has been tampered
with"
2. If the first-level inline (ParcelInline) has extra=1, and the others
have extra=0, I can add inlines and nested inlines, but saving or deleting
existing set of inlines without filling the extra inline fields fails with
this message: "Parent object must be created when creating nested inlines"
(for first-level inline modifications) or "ManagementForm data is missing
or has been tampered with" (for deeper levels).
3. For all extra=1 (or larger number), every time I try to save, all
extra fields have to be filled, otherwise the same errors appear. Deleting
inlines is impossible.
--
Ticket URL: <https://code.djangoproject.com/ticket/9025#comment:127>
Django <https://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 https://groups.google.com/groups/opt_out.