Opened 4 years ago

Closed 3 years ago

#17927 closed New feature (fixed)

Initial values support for BaseGenericInlineFormSet

Reported by: Fak3 Owned by: nobody
Component: contrib.contenttypes Version: 1.4-beta-1
Severity: Normal Keywords:
Cc: bmihelac@… Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no


Fix for ticket #14574 (Initial values support for inline model formsets) only added initial values for BaseInlineFormSet, but BaseGenericInlineFormSet still doesn't have this functionality

Change History (4)

comment:1 Changed 4 years ago by claudep

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

It might be as simple as adding **kwargs parameters to __init__ method, and passing them to super. To be tested...

Last edited 4 years ago by claudep (previous) (diff)

comment:2 Changed 3 years ago by bmihelac

  • Cc bmihelac@… added

comment:3 Changed 3 years ago by bmihelac

  • Has patch set

comment:4 Changed 3 years ago by Tim Graham <timograham@…>

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

In b00c6371afab778ab6c6206fb2dbb3f2c7f750b4:

Fixed #17927 -- Added initial values support for BaseGenericInlineFormSet

Thanks Fak3 for the suggestion.

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