VueDjangoAntdProBookShop icon indicating copy to clipboard operation
VueDjangoAntdProBookShop copied to clipboard

AttributeError: 'NoneType' object has no attribute 'data'

Open Abcold opened this issue 3 years ago • 1 comments

项目已经运行起来,但点登录出现500错误 后台: File "C:\Users\Documents\VueDjangoAntdProBookShop\tyadmin_api\custom.py", line 34, in custom_exception_handler response.data = {"none_fields_errors": response.data} AttributeError: 'NoneType' object has no attribute 'data' [11/Apr/2021 20:47:00] "POST /api/xadmin/v1/login/account HTTP/1.1" 500 26215

Abcold avatar Apr 11 '21 12:04 Abcold

缺少模块 往上翻还有日志 找到ModuleNotFoundError: No module named 'xxxxx' 看XXXX是哪个pip install xxxx安装 应该是requests_oauthlib

a81608882 avatar Apr 16 '21 16:04 a81608882