Ejemplo n.º 1
0
 def get(self, id):
     self.fetch(id)
     self.values['form'] = QuizForm(instance=self.quiz_entity)
     self.values['action'] = links.Quiz.edit(int(id))
     self.values['questions'] = Question.get_for_quiz(self.quiz_entity)
     self.output('quiz_edit.html')
Ejemplo n.º 2
0
 def get(self, id):
     self.fetch(id)
     self.values["form"] = QuizForm(instance=self.quiz_entity)
     self.values["action"] = links.Quiz.edit(int(id))
     self.values["questions"] = Question.get_for_quiz(self.quiz_entity)
     self.output("quiz_edit.html")