From: Guillaume Pellerin Date: Tue, 7 Mar 2023 14:53:46 +0000 (+0100) Subject: fix professor X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=874e48de03fe3f8ea2066d197f2b11031ef15fb8;p=teleforma.git fix professor --- diff --git a/teleforma/views/core.py b/teleforma/views/core.py index c628047f..95eac19c 100644 --- a/teleforma/views/core.py +++ b/teleforma/views/core.py @@ -699,6 +699,7 @@ class ProfessorListView(View): from teleforma.models import Organization, Department departments = Department.objects.all() professors = Professor.objects.all() + professors_new = [] for department in departments: url = 'https://' + department.domain + '/json/'