Opened 4 years ago

Closed 4 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: master
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 Changed 4 years ago by kenth

Easy pickings: set
Has patch: set

comment:2 Changed 4 years ago by Tom Christie

Owner: changed from nobody to Tom Christie
Status: newassigned

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

comment:3 Changed 4 years ago by Tom Christie

Triage Stage: UnreviewedReady for checkin

comment:4 Changed 4 years ago by Jannis Leidel

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