Opened 6 years ago

Closed 6 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:


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.

Attachments (0)

Change History (1)

comment:1 Changed 6 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.

Add Comment

Modify Ticket

Change Properties
<Author field>
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.