#8125 closed (worksforme)
Multiple docorators in a view doesnt work
Reported by: | 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
Note:
See TracTickets
for help on using tickets.
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.