def post(self, request, pk):
    f = get_object_or_404(Forum, id=pk)
    comment = Comment(text=request.POST['comment'], owner=request.user, forum=f)
    comment.save()
    return redirect(reverse('forums:forum_detail', args=[pk]))
def post(self, request, pk):
    f = get_object_or_404(Forum, id=pk)
    comment = Comment(text=request.POST['comment'], owner=request.user, forum=f)
    comment.save()
    return redirect(reverse('forums:forum_detail', args=[pk]))