From: Guillaume Pellerin Date: Mon, 25 Jan 2021 16:25:20 +0000 (+0100) Subject: fix args X-Git-Tag: 0.9-tc~10 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=277fbb4c7a89212b1432dbbfcc7206f7720e820c;p=teleforma.git fix args --- 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: