在按照老师的步骤配置token之后,运行的时候报错:
NotImplementedError at /
.authenticate() must be overridden.
Request Method:
GET
Request URL:
http://127.0.0.1:8000/
Django Version:
1.11.7
Exception Type:
NotImplementedError
Exception Value:
.authenticate() must be overridden.
Exception Location:
C:\Users\Administrator.QIKUQIK-HR2M400\Envs\shop\lib\site-packages\rest_framework\authentication.py in authenticate, line 46
Python Executable:
C:\Users\Administrator.QIKUQIK-HR2M400\Envs\shop\Scripts\python.exe
Django REST framework课程视频,RESTFul API前后端分离开发
了解课程