Re: [Tutor] automatically add it to all the classes

2006-10-30 Thread Kent Johnson
anil maran wrote: > All the classes in my webpy application have the following lines > is there anyway to automatically add it to all the classes in code.py, > user.py > If it is too basic, please pardon my naivette. > thanks > John > These are the lines shared by all classes, >@checkaccess(a

Re: [Tutor] automatically add it to all the classes

2006-10-30 Thread Alan Gauld
"anil maran" <[EMAIL PROTECTED]> wrote > All the classes in my webpy application have the following lines > is there anyway to automatically add it to all the classes in > code.py, > user.py Without more information about your application we can't give a definitive answer. But if they inherit f

Re: [Tutor] automatically add it to all the classes

2006-10-29 Thread Luke Paireepinart
anil maran wrote: > [some stuff] > > thanks > John Okay... So this is an e-mail from john... > [some other stuff] > > Anil And this is the reply by Anil? What is the question here, exactly? ___ Tutor maillist - Tutor@python.org http://mail.python.org/

[Tutor] automatically add it to all the classes

2006-10-29 Thread anil maran
All the classes in my webpy application have the following lines is there anyway to automatically add it to all the classes in code.py, user.py If it is too basic, please pardon my naivette. thanks John These are the lines shared by all classes,    @checkaccess(auth=True)         sess = we