The simplest web2py application: a single controller

[edit|delete]

Edit a controller default.py and type in it:

def hello: return dict(message="Hello World")

message here is a user defined variables that is being passed to the view.



Post a comment