diff --git a/courses/api.py b/courses/api.py index 3d1d33d..86c16b7 100755 --- a/courses/api.py +++ b/courses/api.py @@ -740,6 +740,9 @@ def sent_homework_up_teacher(request, context): context['code'] = '1' context['data'] = {'try': ht.get_head_face(), 'comment': comment.get_face()} ht.saw_this() + + homework.success = True + homework.save() return context