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