]> git.parisson.com Git - teleforma.git/commitdiff
bugfix
authorGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Wed, 3 Feb 2016 22:48:51 +0000 (23:48 +0100)
committerGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Wed, 3 Feb 2016 22:48:51 +0000 (23:48 +0100)
teleforma/views/crfpa.py

index 65cee9b4a94b1e5c7be9803b4c5e6094dd81f28e..9043cf2b8779c6a36deb636facb1354982388ace 100644 (file)
@@ -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: