Opened 7 years ago

Closed 7 years ago

Last modified 4 years ago

#8125 closed (worksforme)

Multiple docorators in a view doesnt work

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


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.

Change History (2)

comment:1 Changed 7 years ago by jacob

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

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

  • milestone 1.0 beta deleted

Milestone 1.0 beta deleted

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