]> git.parisson.com Git - teleforma.git/commitdiff
fix professor
authorGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Tue, 7 Mar 2023 14:53:46 +0000 (15:53 +0100)
committerGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Tue, 7 Mar 2023 14:53:46 +0000 (15:53 +0100)
teleforma/views/core.py

index c628047f2d7f9bdbc6e307c2f1dca7281016e9d3..95eac19c1aa13b657ff4d5251a596c234d134fbc 100644 (file)
@@ -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/'