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