@require_POST
@login_required
def remove_check(request, code):
    check = _get_rw_check_for_user(request, code)
    project = check.project
    check.delete()
    return redirect('hc-checks', project.code)
@require_POST
@login_required
def remove_check(request, code):
    check = _get_rw_check_for_user(request, code)
    project = check.project
    check.delete()
    return redirect('hc-checks', project.code)