From: Guillaume Pellerin Date: Tue, 17 Sep 2013 16:46:26 +0000 (+0200) Subject: bugfix X-Git-Tag: 1.3-TC~19^2 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=7e4a48564a25842b5384a98955d59f685fa2ded5;p=teleforma.git bugfix --- diff --git a/teleforma/views/core.py b/teleforma/views/core.py index 1664e837..ea1c0e3a 100644 --- a/teleforma/views/core.py +++ b/teleforma/views/core.py @@ -240,7 +240,7 @@ class CourseListView(CourseAccessMixin, ListView): department = Department.objects.get(organization=organization, name=department_name) return [course.to_dict() for course in Course.objects.filter(department=department)] - def pull(request, organization_name, department_name): + def pull(organization_name, department_name): organization = Organization.objects.get(name=organization_name) department = Department.objects.get(name=department_name, organization=organization) url = 'http://' + department.domain + '/json/'