@login_required
@expect_json
def delete_item(request, usage_key):
 _delete_item(usage_key, request.user)

@ login_required @ expect_json def delete_item ( request , usage_key ) : _delete_item ( usage_key , request . user )
exposes internal helper method without breaking existing bindings/dependencies .