def METHOD_NAME(request, conference_slug, proposal_slug, proposal_comment_id):
    if not request.is_ajax() or request.user.is_active is False:
        return HttpResponseForbidden()
    conference = get_object_or_404(Conference, slug=conference_slug)
    proposal = get_object_or_404(Proposal, slug=proposal_slug, conference=conference)
    proposal_comment = get_object_or_404(
        ProposalComment, proposal=proposal, id=proposal_comment_id
    )
    if proposal_comment.is_spam:
        return HttpResponse("Already marked as spam")
    proposal_comment.is_spam = True
    proposal_comment.marked_as_spam_by = request.user
    proposal_comment.save()
    user_action_for_spam(
        proposal_comment.commenter, getattr(settings, "USER_SPAM_THRESHOLD", 2)
    )
    return HttpResponse("Marked as spam")