Opened 8 years ago

Closed 8 years ago

Last modified 5 years ago

#10522 closed (fixed)

generic_inlineformset_factory's exclude option should accept tuples too

Reported by: Matthias Kestenholz Owned by: nobody
Component: Contrib apps Version: master
Severity: Keywords:
Cc: Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:


This is similar to #9171, which was fixed in [9086]

from django.contrib.contenttypes.generic import generic_inlineformset_factory
generic_inlineformset_factory(SomeModel, exclude=('somefield',)) causes an exception 'tuple has no attribute extend'

Attachments (1)

10522.patch (3.3 KB) - added by Matthias Kestenholz 8 years ago.

Download all attachments as: .zip

Change History (4)

Changed 8 years ago by Matthias Kestenholz

Attachment: 10522.patch added

comment:1 Changed 8 years ago by Jacob

milestone: 1.1
Needs documentation: unset
Needs tests: unset
Patch needs improvement: unset
Triage Stage: UnreviewedAccepted

comment:2 Changed 8 years ago by Jacob

Resolution: fixed
Status: newclosed

(In [10375]) Fixed #10522: accept tuples in generic_inlineformset_factor(exclude). Thanks, mk.

comment:3 Changed 5 years ago by Jacob

milestone: 1.1

Milestone 1.1 deleted

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