Typically a controller should return either a string or (more commonly) a dict():
return mystring return dict(rows=rows, pages=pages)
Typically a controller should return either a string or (more commonly) a dict():
return mystring return dict(rows=rows, pages=pages)