the distinction being made here is that decorators appear to be executed 
for methods that are not called during this request.  whether or not a 
query is run is not really the point, the point is that it seems that code 
is being executed that the user never intended.

that said, i don't know enough about decorators to know how they work under 
the covers.  i would tend to agree with Ids that this behavior is not what 
i expect, and with the auth decorators that run queries can significantly 
slow down an application.

can anyone comment on whether Ids and my expectation of how decorators work 
are correct? 

thanks,

cfh

Reply via email to