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: tomchristie
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


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
  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset

comment:2 Changed 4 years ago by tomchristie

  • Owner changed from nobody to tomchristie
  • Status changed from new to assigned

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

comment:3 Changed 4 years ago by tomchristie

  • Triage Stage changed from Unreviewed to Ready for checkin

comment:4 Changed 4 years ago by jezdez

  • Resolution set to fixed
  • Status changed from assigned to closed
Note: See TracTickets for help on using tickets.
Back to Top