From 2afbe6f235123c7d86cf53779548d93da75e344e Mon Sep 17 00:00:00 2001 From: Guillaume Pellerin Date: Wed, 3 Feb 2016 23:48:51 +0100 Subject: [PATCH] bugfix --- teleforma/views/crfpa.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/teleforma/views/crfpa.py b/teleforma/views/crfpa.py index 65cee9b4..9043cf2b 100644 --- a/teleforma/views/crfpa.py +++ b/teleforma/views/crfpa.py @@ -430,7 +430,7 @@ class RegistrationPDFView(PDFTemplateResponseMixin, DetailView): pdf_template_name = template_name def get_context_data(self, **kwargs): - context = super RegistrationPDFView, self).get_context_data(**kwargs) + context = super(RegistrationPDFView, self).get_context_data(**kwargs) user = User.objects.get(username=kwargs['username']) student = user.student.all()[0] if student.training and not student.trainings: -- 2.39.5