490
489
class WorksheetExercise(Storm):
491
490
__storm_table__ = "worksheet_problem"
494
494
worksheet_id = Int(name="worksheetid")
495
495
worksheet = Reference(worksheet_id, Worksheet.id)
496
496
exercise_id = Unicode(name="problemid")
497
497
exercise = Reference(exercise_id, Exercise.id)
503
508
return "<%s %s in %s>" % (type(self).__name__, self.exercise.name,
506
511
class ExerciseSave(Storm):