Thanks. I got the solution...as you said. it should be :
test.test()
What I did, in the controller:
from applications.x.x import test
def display_test();
result = test.test()
return locals
HTML view
{{extend 'layout.html'}}
{{=result}}
On Mon, May 26, 2014 at 4:47 PM, Anthony
test is a module, not a function. If there is a function named test
inside the test module, then you would call it via test.test(). Or you
could do from test import test.
Anthony
On Monday, May 26, 2014 8:51:46 AM UTC-4, Maurice Waka wrote:
My code in HTML view is like this:
{{import
2 matches
Mail list logo