If you put them in a model file they are visible everywhere. If you
put them in a constroller they are only visible in there.

On Oct 22, 3:05 am, "hamdy.a.farag" <[email protected]> wrote:
> Hi
>
> suppose I'm doing a controller file containing my custom decorators
>
> deco1():
>
> deco2():
>
> ..............
>
> How to register my controllers so  that , any where (different
> controllers) in my application I can use them
> as
>
> @deco1
> myFunction():
>
>     --------
>     ---------
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py-users" 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/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to