106
113
class AttemptRESTView(JSONRESTView):
107
114
'''REST view of an exercise attempt.'''
116
def __init__(self, req, subject, worksheet, exercise, username, date):
115
129
exercise, as_of=date, allow_inactive=HISTORY_ALLOW_INACTIVE)
122
140
class ExerciseRESTView(JSONRESTView):