]> git.parisson.com Git - teleforma.git/commitdiff
fix reverse
authoryomguy <yomguy@parisson.com>
Mon, 18 Feb 2013 12:39:54 +0000 (13:39 +0100)
committeryomguy <yomguy@parisson.com>
Mon, 18 Feb 2013 12:39:54 +0000 (13:39 +0100)
teleforma/views/pro.py

index 3dd66fb6114de994fdadc322746115f16d7f346d..d32ff6ecb5622e0da9989cc9add8009581158dd6 100644 (file)
@@ -358,8 +358,7 @@ class AnswersView(ListView):
             for testimonial in testimonials:
                 testimonial.delete()
 
-        path = reverse('teleforma-question-answer', kwargs={'id': seminar.id,
-                                                    'pk': answer.question.id})
+        path = reverse('teleforma-question-answer', kwargs={'id': seminar.id, 'pk': answer.question.pk})
         if answer.question.seminar.sub_title:
             title = unicode(_('Subtitle')) + ' : ' + seminar.sub_title
         else: