Opened 5 years ago

Closed 4 years ago

#17927 closed New feature (fixed)

Initial values support for BaseGenericInlineFormSet

Reported by: Evstifeev Roman 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

Description

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 5 years ago by Claude Paroz

Triage Stage: UnreviewedAccepted

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

Version 0, edited 5 years ago by Claude Paroz (next)

comment:2 Changed 4 years ago by bmihelac

Cc: bmihelac@… added

comment:3 Changed 4 years ago by bmihelac

Has patch: set

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

Resolution: fixed
Status: newclosed

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