Opened 17 years ago

Closed 17 years ago

#5383 closed (fixed)

[newforms-admin] - InlineModelAdmin.formset_class is used but not set.

Reported by: Petr Marhoun <petr.marhoun@…> 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: no UI/UX: no

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)

formset-class-not-set.diff (958 bytes ) - added by Petr Marhoun <petr.marhoun@…> 17 years ago.

Download all attachments as: .zip

Change History (3)

by Petr Marhoun <petr.marhoun@…>, 17 years ago

Attachment: formset-class-not-set.diff added

comment:1 by jkocherhans, 17 years ago

Owner: changed from nobody to jkocherhans
Status: newassigned
Triage Stage: UnreviewedAccepted

comment:2 by jkocherhans, 17 years ago

Resolution: fixed
Status: assignedclosed

(In [6102]) newforms-admin: Fixed #5383.

Note: See TracTickets for help on using tickets.
Back to Top