Opened 2 years ago

Closed 11 months 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

Attachments (0)

Change History (4)

comment:1 Changed 2 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...

Version 0, edited 2 years ago by claudep (next)

comment:2 Changed 13 months ago by bmihelac

  • Cc bmihelac@… added

comment:3 Changed 13 months ago by bmihelac

  • Has patch set

comment:4 Changed 11 months 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.

Add Comment

Modify Ticket

Change Properties
<Author field>
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.