web.clientjob.jobview

Package web :: Package clientjob :: Module jobview |
[hide private]
[frames] | no frames]

# Source Code for Module web.clientjob.jobview

     1  import web
     2  from clientjob.model import Job
     3  from decorators import i18n
     4
     5
     6 -class ClientJobView:
     7      @i18n
     8 -    def GET(self, filter=None):
     9          orm = web.ctx.orm
    10          jobs = orm.query(Job).all()[0:50]
    11          return web.ctx.render.clientjob.list(jobs)
    12