From: Guillaume Pellerin Date: Wed, 3 Feb 2016 22:48:51 +0000 (+0100) Subject: bugfix X-Git-Tag: 1.1~144 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=2afbe6f235123c7d86cf53779548d93da75e344e;p=teleforma.git bugfix --- 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: