Opened 11 years ago
Closed 11 years ago
#5383 closed (fixed)
[newforms-admin] - InlineModelAdmin.formset_class is used but not set.
Reported by: | Owned by: | jkocherhans | |
---|---|---|---|
Component: | contrib.admin | Version: | newforms-admin |
Severity: | Keywords: | newforms, admin, inlines | |
Cc: | Triage Stage: | Accepted | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | UI/UX: |
Description
I think there is a little bug in [6080].
In InlineModelAdmin._fieldsets (row 684) attribute formset_class is used. But it was removed from init in [6080].
Attached patch gives it back.
I am not sure if it is the right solution - maybe only fields should be saved. See also #5372 - I think that it isn't a good idea to use one formset_class for all requests.
Attachments (1)
Change History (3)
Changed 11 years ago by
Attachment: | formset-class-not-set.diff added |
---|
comment:1 Changed 11 years ago by
Owner: | changed from nobody to jkocherhans |
---|---|
Status: | new → assigned |
Triage Stage: | Unreviewed → Accepted |
comment:2 Changed 11 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
(In [6102]) newforms-admin: Fixed #5383.