#11044 closed (fixed)
FormWizard extra_context attribute is class-wide
Reported by: | Taylan Pince | Owned by: | nobody |
---|---|---|---|
Component: | contrib.formtools | Version: | 1.0 |
Severity: | Keywords: | ||
Cc: | Triage Stage: | Accepted | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
FormWizard's extra_context attribute is declared within the class, rather than the init method, which means that it persists across the class, causing data within the extra_context to appear in all requests. Patch attached to move the declaration inside init.
Attachments (1)
Change History (4)
by , 16 years ago
Attachment: | formwizard_extra_context_fix.diff added |
---|
comment:1 by , 15 years ago
milestone: | → 1.2 |
---|---|
Triage Stage: | Unreviewed → Accepted |
comment:2 by , 15 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Patch to move extra_context declaration under init