Opened 8 years ago

Closed 5 years ago

#8619 closed New feature (fixed)

Allow FormWizard to accept classes or instances

Reported by: rokclimb15 Owned by: nobody
Component: contrib.formtools Version: master
Severity: Normal Keywords:
Cc: Triage Stage: Someday/Maybe
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX:

Description

This is a feature request for FormWizard to take instances of Forms rather than just callable classes. This will allow modification of the form_list in process_step to give extra arguments to Form instances (such as to specify dynamic field creation). I am not entirely sure how to accomplish this, or I would include a patch. I think it would involve some introspection work to figure out if the object is callable hasattr('callable')?

If someone can point me in the right direction, I can make the patch for this.

Change History (3)

comment:1 Changed 8 years ago by Jacob

Needs documentation: unset
Needs tests: unset
Patch needs improvement: unset
Triage Stage: UnreviewedSomeday/Maybe

comment:2 Changed 5 years ago by Luke Plant

Severity: Normal
Type: New feature

comment:3 Changed 5 years ago by Jannis Leidel

Easy pickings: unset
Resolution: fixed
Status: newclosed

Superseded by #9200.

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