Exemplo 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)
Exemplo n.º 2
0
def start():
    questions = Question()
    questions = questions.get_latest_questions()
    return render_template("default/index.html", questions=questions)
Exemplo n.º 3
0
def start():
    questions = Question()
    questions_title = questions.get_latest_questions()
    return render_template('default/index.html',questions_title = questions_title)