Opened 18 years ago
Closed 17 years ago
#3757 closed (duplicate)
FormPreview throwing AttributeError?
Reported by: | Owned by: | nobody | |
---|---|---|---|
Component: | contrib.formtools | Version: | dev |
Severity: | Keywords: | ||
Cc: | erickt@… | Triage Stage: | Unreviewed |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
I wanted to play around with this, but it throws an AttributeError. The problem looks to be coming from the self.form.fields in the unused_name function in preview.py. That value only exists in Form instances, but the documentation for FormPreview says it needs a Form class. Should unused_name be changed to use self.form.base_fields?
-e
Attachments (1)
Change History (3)
by , 18 years ago
Attachment: | base_fields.diff added |
---|
comment:2 by , 17 years ago
Resolution: | → duplicate |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Simple patch