class MyTable TableView __manager__ ModelManager Avatar id AttributeCo

1
2
3
4
5
6
class MyTable(TableView):
__manager__ = ModelManager(Avatar)
id = AttributeColumn('ID', 'id', sortable=True)
name = AttributeColumn('Name', 'name', sortable=True)
user = AttributeColumn('User', 'user.email', sortable=True)