def question(id): question = Question() question = question.get_question_with_id(id) return render_template("default/question.html", question=question, id=id)
def start(): questions = Question() questions = questions.get_latest_questions() return render_template("default/index.html", questions=questions)
def start(): questions = Question() questions_title = questions.get_latest_questions() return render_template('default/index.html',questions_title = questions_title)