Opened 15 years ago

Closed 15 years ago

Last modified 13 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: dev
Severity: Keywords:
Cc: Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

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 15 years ago.

Download all attachments as: .zip

Change History (4)

by Matthias Kestenholz, 15 years ago

Attachment: 10522.patch added

comment:1 by Jacob, 15 years ago

milestone: 1.1
Triage Stage: UnreviewedAccepted

comment:2 by Jacob, 15 years ago

Resolution: fixed
Status: newclosed

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

comment:3 by Jacob, 13 years ago

milestone: 1.1

Milestone 1.1 deleted

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