def delete_all_tasks(): db.delete_all_tasks() return jsonify({'success': 'true'})
def delete_all(): db.delete_all_tasks() return jsonify(success="true")
def delete_all(): db.delete_all_tasks() return jsonify('success')