Opened 13 years ago
Closed 13 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 , 13 years ago
| Easy pickings: | set |
|---|---|
| Has patch: | set |
comment:2 by , 13 years ago
| Owner: | changed from to |
|---|---|
| Status: | new → assigned |
Have double checked the documentation, and this looks sensible to me.
comment:3 by , 13 years ago
| Triage Stage: | Unreviewed → Ready for checkin |
|---|
comment:4 by , 13 years ago
| Resolution: | → fixed |
|---|---|
| Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.
Patch on github: https://github.com/django/django/pull/466