def logout(self): session.clear() session.save() return render('/login.mako')
def display(self): if not session.get("user"): return render('/login.mako') else: return render('/main.mako')
def index(self): if not session.get("user"): return render("/login.mako") else: return render("/main.mako")