To further clarify, there is nothing special about the filename "menu.py" (or any of the files in the /models folder) -- all the files in the folder are executed (unless you explicitly specify response.models_to_run or use sub-folders to run model files conditionally).
Anthony On Friday, May 25, 2018 at 2:18:08 PM UTC-4, Nico de Groot wrote: > > If you leave the copy in the model folder it still is active. .py files > are all executed in alphabetical order at every request. If you want to > keep a backup use another suffix. > > Nico de Groot > -- 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.