错误提示:
builtins.TypeError
TypeError: init() takes from 1 to 2 positional arguments but 3 were given
错误的原因是forms.py里的form类写错了,错误代码为:
正确代码为:
转载于:https://blog.51cto.com/13592676/2148182
错误提示:
builtins.TypeError
TypeError: init() takes from 1 to 2 positional arguments but 3 were given
错误的原因是forms.py里的form类写错了,错误代码为:
正确代码为:
转载于:https://blog.51cto.com/13592676/2148182