изменение статуса домашки

remotes/origin/pm_task_31703
Mikhail Bortnikov 9 years ago
parent 19c68afd3a
commit 2113f5bb21
  1. 3
      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

Loading…
Cancel
Save