Opened 8 years ago

Closed 8 years ago

#21994 closed New feature (fixed)

Pass a dict of forms to WizardView.done()

Reported by: Julian Wachholz Owned by: Julian Wachholz
Component: contrib.formtools Version: dev
Severity: Normal Keywords: formtools wizard
Cc: Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: yes UI/UX: no


Passing a second argument to calls of done() methods in WizardViews allows handling forms by their name in NamedUrlWizardViews.
This makes it especially useful when dealing with a lot of conditional forms rather than relying on their index number in the form list.

Change History (3)

comment:1 Changed 8 years ago by Jannis Leidel

Triage Stage: UnreviewedAccepted

comment:2 Changed 8 years ago by Julian Wachholz

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

Resolution: fixed
Status: newclosed

In 9a4ee8ddb858ae07ff42be0261c867aa3d2eb53c:

Fixed #21994 -- Added form_dict argument to calls of WizardView.done()

Added an additional keyword argument form_dict to calls of
WizardView.done() implementations which allows easier access to validated
forms by their step name.

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