Opened 7 years ago

Closed 7 years ago

Last modified 5 years ago

#10522 closed (fixed)

generic_inlineformset_factory's exclude option should accept tuples too

Reported by: mk 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 mk 7 years ago.

Download all attachments as: .zip

Change History (4)

Changed 7 years ago by mk

comment:1 Changed 7 years ago by jacob

  • milestone set to 1.1
  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Triage Stage changed from Unreviewed to Accepted

comment:2 Changed 7 years ago by jacob

  • Resolution set to fixed
  • Status changed from new to closed

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

comment:3 Changed 5 years ago by jacob

  • milestone 1.1 deleted

Milestone 1.1 deleted

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