def details(): if current_user.has_answered(): return redirect(url_for('matchmate')) return render_template('details.html')
def questions(): if current_user.has_answered(): return redirect(url_for('matchmate')) return render_template('questions.html')