]> git.parisson.com Git - teleforma.git/commitdiff
fix args
authorGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Mon, 25 Jan 2021 16:25:20 +0000 (17:25 +0100)
committerGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Mon, 25 Jan 2021 16:25:20 +0000 (17:25 +0100)
teleforma/views/core.py

index 72861b839b538483bf1425a1d1bd6c036c1294ce..5747944eddf9426f19edfd43683ea58676e41ddf 100644 (file)
@@ -294,7 +294,7 @@ class CourseListView(CourseAccessMixin, ListView):
     def get_course_type_list(request):
         return [course_type.to_dict() for course_type in CourseType.objects.all()]
 
-    def pull(request, organization_name, department_name):
+    def pull(request, organization_name):
         organization = Organization.objects.get(name=organization_name)
         departments = Department.objects.filter(organization=organization)
         for department in departments: