def home(): connect() if not session.get('logged_in'): return render_template('login.html') else: order = 0 message = recent_message(order) cm = recent_comment() return render_template('index.html', message=message, comment=cm)
def most_l(): order = 3 message = recent_message(order) cm = recent_comment() return render_template('index.html', message=message, comment=cm)