Opened 17 years ago

Closed 17 years ago

#6125 closed (wontfix)

Decorators and FormPreview doesn't work anymore since 6659.

Reported by: mail@… Owned by: nobody
Component: contrib.formtools Version: dev
Severity: Keywords: decorator formtools
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

The fix from changeset 6659 leads to an error if you combine a FormPreview with a decorator, because FormPreview (as a class) doesn't has a __name__ method.

Change History (1)

comment:1 by Jacob, 17 years ago

Resolution: wontfix
Status: newclosed

Decorators are designed for functions, not classes; you shouldn't be using a decorator on a class.

Note: See TracTickets for help on using tickets.
Back to Top