From: Guillaume Pellerin Date: Mon, 28 Jul 2014 14:30:02 +0000 (+0200) Subject: bugfix X-Git-Tag: 1.1~335 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=4406b4d307279f4989b76f44c8a045f31219db17;p=teleforma.git bugfix --- diff --git a/teleforma/views/crfpa.py b/teleforma/views/crfpa.py index a72d10de..c17f3ecb 100644 --- a/teleforma/views/crfpa.py +++ b/teleforma/views/crfpa.py @@ -62,7 +62,7 @@ def get_crfpa_courses(user, date_order=False, num_order=False, period=None): for quota in quotas: queryset = queryset.filter(quotas=quota) courses = format_courses(courses, queryset=queryset, - types=CourseType.objects) + types=CourseType.objects.all()) elif student: student = user.student.get()