From 277fbb4c7a89212b1432dbbfcc7206f7720e820c Mon Sep 17 00:00:00 2001 From: Guillaume Pellerin Date: Mon, 25 Jan 2021 17:25:20 +0100 Subject: [PATCH] fix args --- teleforma/views/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/teleforma/views/core.py b/teleforma/views/core.py index 72861b83..5747944e 100644 --- a/teleforma/views/core.py +++ b/teleforma/views/core.py @@ -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: -- 2.39.5