from todo.sitepage import SitePage from todo.db import * class index(SitePage): def setup(self): self.options.title = 'List of Lists' self.options.lists = TodoList.select()