Exemplo n.º 1
0
def delete_comment(request, id):
    comment = Comment.objects.get(id=id)
    Comment.delete(comment)

    return HttpResponseRedirect('/stream/')