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)
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)