The default application logic right now is: init if present, otherwise
welcome.
Would it not be useful to be able to specify a default application
from the command line? web2py --app myapplication ...
...with new logic:
use --app specification if present
else use init if present
else use welcome
The single-letter option could be -A.
No doubt this could be accomplished via routes.py, but it seems like a
very common case, and this would be simpler.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---