takes 2 positional arguments but 3 were given
时间: 2023-10-31 20:43:26 浏览: 136
django报错:add_atr() takes 0 positional arguments but 1 was given
This error message indicates that a function was called with too many arguments. The function expects 2 arguments, but 3 were provided. Check the function definition and make sure the correct number of arguments are being passed. Alternatively, check if any unnecessary arguments are being passed to the function call.
阅读全文