The actions I took -
- duplicate menu.py (macOS names the copy "menu copy.py) and rename the original file something like menu_old.py and leave that renamed file in the models directory as reference backup
- using the menu copy.py as a starting point, rename it menu.py and experiment with the proposed changes, save the file and restart the app to see the result
and the result seems, at least for me, to be that AS LONG AS THE MENU_OLD.PY file remains in the models directory, web2py continues to pick IT up as menu.py, rather than the modified file
It seems, if I remove the menu_old file from the models directory, web2py is then triggered to look for menu.py again and picks up the new file
At least that's the way it looks right now. Anyone seen something similar?