def list(self):
"""List records in model"""
r = cls.select()
return dict(records=r, name=name, namepl=namepl)
@expose(template='kid:%s.templates.new' % __name__)
def list(self):
"""List records in model"""
r = cls.select()
return dict(records=r, name=name, namepl=namepl)
@expose(template='kid:%s.templates.new' % __name__)