Exemplo n.º 1
0
Arquivo: lucky.py Projeto: kuba/SIS
 def current(self):
     # TODO This could be set in the settings file
     change_hour = 15
     c.lucky = LuckyNumber.current(change_hour)
     return render('lucky/current.xml')
Exemplo n.º 2
0
Arquivo: lucky.py Projeto: kuba/SIS
 def index(self):
     change_hour = 15
     c.current = LuckyNumber.current(change_hour)
     c.week = LuckyNumber.current_week(change_hour)
     c.left = LuckyNumber.left()
     return render('lucky/index.xml')