Opened 11 years ago

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

Description

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 by Jannis Leidel, 11 years ago

Triage Stage: UnreviewedAccepted

comment:2 by Julian Wachholz, 11 years ago

comment:3 by Tim Graham <timograham@…>, 11 years ago

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