Opened 17 years ago
Closed 17 years ago
#7279 closed (duplicate)
Form wizard get_template bug
Reported by: | Owned by: | nobody | |
---|---|---|---|
Component: | contrib.formtools | Version: | dev |
Severity: | Keywords: | ||
Cc: | redvasily@… | Triage Stage: | Unreviewed |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
The FormWizard calls get_template(self, step) with the wrong step.
The code calls it with self.step, but self.step never gets updated after each step. It always stays 0 and so the get_template will always return the same value regardless of the step. The code doesn't seem to use self.step otherwise and so I developed a patch based on that fact.
Attachments (1)
Change History (4)
by , 17 years ago
Attachment: | wizard.diff added |
---|
comment:1 by , 17 years ago
Has patch: | set |
---|
comment:2 by , 17 years ago
Cc: | added |
---|
comment:3 by , 17 years ago
Resolution: | → duplicate |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Duplicate of #6893