Opened 7 years ago

Closed 7 years ago

#6125 closed (wontfix)

Decorators and FormPreview doesn't work anymore since 6659.

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

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 Changed 7 years ago by jacob

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Resolution set to wontfix
  • Status changed from new to closed

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