Пример #1
0
    def get(self):
        u'''
        一覧
        '''

        with session.Session() as sess:

            results = self.search(sess,
                                  **utils.get_first_params(self.request.arguments))

        return zpt.rendering('list', dict(handler=self,
                                          request=self.request,
                                          results=results,
                                          table=self.table))
Пример #2
0
    def get(self):

        return zpt.rendering("test", dict(handler=self))