Exemplo n.º 1
0
	def put_question(self, num, quest, ans, exp):
		quest = TrueFalseQuestion(number = num,
								question = quest, 
								answer = ans,
								explanation = exp
							)
		quest.put()
Exemplo n.º 2
0
	def get_question(self, number):
		return TrueFalseQuestion.all().filter('number =', number)