This should work
http://pastie.org/2412537
share your whole code in some pastie, gist or send the .py files I will take
a look and try it here.
did you imported in this way:
from objects import Search
return dict(search=Search.show(db))
???
ok small corretion, you need it as staticmethod (or need a instance before
calling)
change to:
class Search(object):
@*staticmethod*
def show(db):
*Explanations about imports:*
from gluon impot *
The above is to have access to web2py helpers and other gluon modules, if
you d
4 matches
Mail list logo