def ajax_delete_task():
    status = True
    task_name = request.args.get('task_name', '')
    submit_user = request.args.get('submit_user', '')
    status = delete_task(submit_user + task_name)
    return json.dumps(status)
Пример #2
0
def ajax_delete_task():
    status = True
    task_name = request.args.get('task_name', '')
    status = delete_task(task_name)
    return json.dumps(status)
Пример #3
0
def ajax_delete_task():
    status = True
    task_name = request.args.get('task_name', '')
    submit_user = request.args.get('submit_user', '')
    status = delete_task(task_name, submit_user)
    return json.dumps(status)
Пример #4
0
def ajax_delete_task():
    status = True
    task_name = request.args.get("task_name", "")
    status = delete_task(task_name)
    return json.dumps(status)