remotes/origin/pm_task_31703
Andrey 8 years ago
parent 6926b4c694
commit 57c24a71eb
  1. 2
      journals/models.py

@ -785,7 +785,7 @@ class HomeworkJ(models.Model):
elif _type == 'E': elif _type == 'E':
obj = ExamJ obj = ExamJ
j = obj.objects.get_or_create(material=_next, student=self.student) j, _c = obj.objects.get_or_create(material=_next, student=self.student)
if self.success: if self.success:
j.open_material() j.open_material()
return {'button': search_in_collection(BUTTON_TYPE, return {'button': search_in_collection(BUTTON_TYPE,

Loading…
Cancel
Save