@ Carlos I think you can use the current app modules folder. This executes all the .py files on the top label of every request For more information here <http://web2py.com/books/default/chapter/29/04/the-core#Sharing-the-global-scope-with-modules-using-the-current-object>
Thanks SP On Wed, Jan 23, 2019 at 6:39 PM Carlos Cesar Caballero Díaz < carlos.caball...@cfg.jovenclub.cu> wrote: > Hi guys, I am using the web2py templates in a side project and I want to > include some variables in the environment by default, something like how > helpers, request and response are included in the framework, but I can't > find how this is done. Any idea? > > Greetings. > > > -- > Resources: > - http://web2py.com > - http://web2py.com/book (Documentation) > - http://github.com/web2py/web2py (Source code) > - https://code.google.com/p/web2py/issues/list (Report Issues) > --- > You received this message because you are subscribed to the Google Groups > "web2py-users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to web2py+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.