예제 #1
0
파일: handlers.py 프로젝트: dudarev/ololog
 def get(self):
     """Index page."""
     checkins = Checkin.all().order("-time")
     context = {
             'current_user': self.auth.user,
             'debug' : os.environ.get('SERVER_SOFTWARE', '').startswith('Dev'),
             'checkins': checkins,
     }
     logging.error(self.auth.session)
     return self.render_response('index.html', **context)
예제 #2
0
파일: handlers.py 프로젝트: dudarev/ololog
 def get(self):
     """Index page."""
     checkins = Checkin.all().order("-time")
     context = {
         'current_user': self.auth.user,
         'debug': os.environ.get('SERVER_SOFTWARE', '').startswith('Dev'),
         'checkins': checkins,
     }
     logging.error(self.auth.session)
     return self.render_response('index.html', **context)