Thanks for the update.
I wanted to know whether I cant import the function from the python module
that contains the print 'message delivered' to the HTML view and have it
printed e.g.
{{extend 'layout.html'}}
{{=test()}}
OR do I have to change the python code.
Kind regards
On Thursday, May
Are you saying you need to know how to import code from a module, or just
that you want to know how to have text show up in an HTML page? If the
latter, it is just:
{{=some_string}}
For example, you might have a web2py action like this:
def index():
return dict(message='Message
2 matches
Mail list logo