hi all, i have a lot of code that used by another controller: e.g.
def show(): page = db.author(request.args(0)) or redirect(URL('index')) return dict(page = page) so, i plan to use a module that contain repeated def function: e.g. module : def show(request, db): page = db(request.args(0)) or redirect(URL(request.application, request.controller, 'index')) return dict(page = page) controller : mymodule = local_import('module') def show(): return mymodule.show(request, db = db.author) an error occured, 'Field' object is not callable', is there anybody know how to pass request.args(0) or request.args on the module please? thank you in advance steve van christie