Exemple #1
0
 def dump_data(self, *args):
 	if args[0] == "quiz_items":
 	    print dump_data(QuizItem.all()) 
 	if args[0] == "item_scores":
 	    print dump_data(ItemScore.all()) 
 	print ""
 	print "---do not copy this line or below---"  #TODO: Don't print HTTP headers
Exemple #2
0
 def dump_data(self, *args):
 	from dev.methods import dump_data
 	print dump_data(args[0])