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

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