Opened 16 years ago

Closed 16 years ago

Last modified 13 years ago

#8125 closed (worksforme)

Multiple docorators in a view doesnt work

Reported by: lzanuz@… Owned by: nobody
Component: Template system Version: dev
Severity: Keywords: multiple decorators
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

I use apache / mod_python and python2.5 and I have in a lot of django projects views that have one o more decorators.
After the revision 7153 these decorators are executed just one of them. If a have two or more docorators in a view, just the first decorator are executed and the others are ignored.
Thks

Change History (2)

comment:1 by Jacob, 16 years ago

Resolution: worksforme
Status: newclosed

I've got many, many views using multiple decorators, and they work just fine with me. In fact, there's nothing magic about decorators that would prevent them from working when stacked. Please reopen with more information if you're *sure* this is a Django problem, but I'm 99% sure this is an issue with your code.

comment:2 by Jacob, 13 years ago

milestone: 1.0 beta

Milestone 1.0 beta deleted

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