예제 #1
0
def question(id):
    question = Question()
    question = question.get_question_with_id(id)
    return render_template("default/question.html", question=question, id=id)
예제 #2
0
def start():
    questions = Question()
    questions = questions.get_latest_questions()
    return render_template("default/index.html", questions=questions)
예제 #3
0
def start():
    questions = Question()
    questions_title = questions.get_latest_questions()
    return render_template('default/index.html',questions_title = questions_title)