Merge branch 'hot_fix_jl' into 'develop'

Hot fix jl

See merge request skillbox/go.skillbox.ru!85
remotes/origin/pm_task_31703
Zolotarev Alexander 8 years ago
commit 0807a90962
  1. 2
      journals/models.py

@ -785,7 +785,7 @@ class HomeworkJ(models.Model):
elif _type == 'E':
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:
j.open_material()
return {'button': search_in_collection(BUTTON_TYPE,

Loading…
Cancel
Save