Opened 12 years ago

Closed 12 years ago

#19025 closed Bug (fixed)

FormWizard.get_context_data() doesn't include "form" in context

Reported by: kenth Owned by: Tom Christie
Component: contrib.formtools Version: dev
Severity: Normal Keywords:
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: yes UI/UX: no

Description

The FormWizard.get_context_data method documentation indicates that the form for the current step is included in the context. According to DjDT, the form is present only as an attribute of the wizard object.

I would prefer that the code be corrected to match the documentation as it would be nice for the form to be in the context.

Change History (4)

comment:1 by kenth, 12 years ago

Easy pickings: set
Has patch: set

comment:2 by Tom Christie, 12 years ago

Owner: changed from nobody to Tom Christie
Status: newassigned

Have double checked the documentation, and this looks sensible to me.

comment:3 by Tom Christie, 12 years ago

Triage Stage: UnreviewedReady for checkin

comment:4 by Jannis Leidel, 12 years ago

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.
Back to Top