]> git.parisson.com Git - teleforma.git/commitdiff
bugfix
authorGuillaume Pellerin <yomguy@parisson.com>
Tue, 17 Sep 2013 16:46:26 +0000 (18:46 +0200)
committerGuillaume Pellerin <yomguy@parisson.com>
Tue, 17 Sep 2013 16:46:26 +0000 (18:46 +0200)
teleforma/views/core.py

index 1664e837d11251f30f152cb69195e2788254a20f..ea1c0e3a7964e47c01bcdcc8352071829bde3ca5 100644 (file)
@@ -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/'