错误类型:
TypeError: __init__() takes from 1 to 2 positional arguments but 3 were given
截图如下:
解决办法:
在forms.py文件中,把name为remeber过滤器中必须输入条件去掉
错误代码如下:
正确代码:
TypeError: __init__() takes from 1 to 2 positional arguments but 3 were given
在forms.py文件中,把name为remeber过滤器中必须输入条件去掉