'DEFAULT_SCHEMA_CLASS':'rest_framework.schemas.AutoSchema',報(bào)錯(cuò)
有上面那句話之后就會(huì)報(bào)這個(gè)錯(cuò),只要注釋了就沒有
AttributeError: 'NoneType' object has no attribute 'Field'
有上面那句話之后就會(huì)報(bào)這個(gè)錯(cuò),只要注釋了就沒有
AttributeError: 'NoneType' object has no attribute 'Field'
2020-10-15
舉報(bào)
2020-10-18
因?yàn)镈RF版本更新了,我課程時(shí)用的
2022-11-02
djangorestframework 改成3.11就可以了