X-Git-Url: https://git.mdrn.pl/edumed.git/blobdiff_plain/37b7e864c44294c543e4af7ab374625197f5e539..edf75472e12f32cbffb5e9b1d255a00238259e29:/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):