def listing(request, section, id, slug):
comments = get_list_or_404(Comment.objects.select_related('author', 'post', 'parent'), post=id)
return render(request, 'comments/listing.html', dict(
comments = comments,
))
文章目录