# -*- coding: utf-8 -*-# try something likedef index(): return dict(message="hello from supplier.py")
def manage_suppliers(): links = [lambda row: A(SPAN(_class='glyphicon glyphicon-search'),' View',_class='button btn btn-default',_href=URL("supplier","view",args=[row.id]))] form = SQLFORM.grid(db.suppliers,links=links,details=False) return locals()
def view(): supplier = db.suppliers(request.args(0)) form = SQLFORM.grid(db.supplier_contacts) return supplier
form = SQLFORM.grid(db.supplier_contacts)
user_signature=False
I found the problem, I had to add
user_signature=False
to the SQLFORM.grid i.e. (SQLFORM.grid(.............,user_signature=False)
This sorted out the problem