You may also want to take a look at Michele Simionato's decorator
module, which is designed to make writing signature-preserving
decorators easier and less error-prone. Very good docs and examples.

  http://www.phyast.pitt.edu/~micheles/python/documentation.html

--David


On Jun 17, 2:20 pm, voltron <[EMAIL PROTECTED]> wrote:
> I took a break and later re-read what you guys wrote instead of the
> "trial and error" stance I took, thanks  Mike and PV, I have a better
> understanding of decorators now :-))
>
> I still have to figure out rendering templates from the decorator
> though, using render _response for my templates does not work, for
> example, render_response("/home.html")
>
> I´ll try a bit more
>
> Thanks once again!


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to