On Wednesday February 11, 2009 16:49:13 jorge.vargas wrote:
> class decorators? what about everyone not in py2.6? I think way back
> when allow_only was created we agreed it was a good compromise before
> class decorators where introduced.

class DaController(BaseController):
   pass
DaController = protect(not_anonymous())(DaController)

is the same thing.
-- 
Gustavo Narea <http://gustavonarea.net/>.

Get rid of unethical constraints! Get freedomware:
http://www.getgnulinux.org/

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears Trunk" 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/turbogears-trunk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to