X-Git-Url: https://git.mdrn.pl/edumed.git/blobdiff_plain/8045f792684345fa3d82331c7d39696b6e2016f4..2725b77b04d8911518c9c82283fe878283398df8:/wtem/admin.py?ds=sidebyside diff --git a/wtem/admin.py b/wtem/admin.py index 03c4446..93fd652 100644 --- a/wtem/admin.py +++ b/wtem/admin.py @@ -224,6 +224,9 @@ class SubmissionsSet: examiners = self.examiners_by_exercise.setdefault(exercise_id, []) if user not in examiners: examiners.append(user) + if submission.contact: + contact_body = submission.contact.body + submission.school = '%s %s' % (contact_body.get('school'), contact_body.get('school_address')) def report_view(request):