def get(self): user = users.get_current_user() logs = HDLog.get_logs_list() if user: logout_url = users.create_logout_url('/') else: login_url = users.create_login_url('/') show_all_nav = user self.response.out.write(template.render('templates/logs.html', locals()))
def get(self): user = users.get_current_user() logs = HDLog.get_logs_list() if user: logout_url = users.create_logout_url("/") else: login_url = users.create_login_url("/") show_all_nav = user # this is not the permanent answer but just for now cdn = "http://cdn.hackerdojo.com" self.response.out.write(template.render("templates/logs.html", locals()))
def get(self): user = users.get_current_user() logs = HDLog.get_logs_list() if user: logout_url = users.create_logout_url('/') else: login_url = users.create_login_url('/') show_all_nav = user # this is not the permanent answer but just for now cdn = 'http://cdn.hackerdojo.com' self.response.out.write( template.render('templates/logs.html', locals()))