Opened 7 years ago

Closed 4 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 6 years ago by jacob

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Triage Stage changed from Unreviewed to Someday/Maybe

comment:2 Changed 4 years ago by lukeplant

  • Severity set to Normal
  • Type set to New feature

comment:3 Changed 4 years ago by jezdez

  • Easy pickings unset
  • Resolution set to fixed
  • Status changed from new to closed

Superseded by #9200.

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