WrappedAttributeError at /goods/
‘CSRFCheck’ object has no attribute 'process_request’
Request Method: GET
Request URL: http://127.0.0.1:8000/goods/
Django Version: 1.11.3
Exception Type: WrappedAttributeError
Exception Value:
‘CSRFCheck’ object has no attribute 'process_request’
Exception Location: E:\Develop_Project\virtualenvwrapper\Envs\VueShop\lib\site-packages\rest_framework\authentication.py in enforce_csrf, line 140
Python Executable: E:\Develop_Project\virtualenvwrapper\Envs\VueShop\Scripts\python.exe
Python Version: 3.6.0
Python Path:
[‘E:\Develop_Project\PycharmProjects\MxShop\extra_apps’,
‘E:\Develop_Project\PycharmProjects\MxShop\apps’,
‘E:\Develop_Project\PycharmProjects\MxShop’,
‘E:\Develop_Project\PycharmProjects\MxShop’,
‘E:\Develop_Project\PycharmProjects\MxShop’,
‘E:\Develop_Project\PycharmProjects\MxShop\apps’,
‘E:\Develop_Project\PycharmProjects\MxShop\extra_apps’,
‘E:\Develop_Project\virtualenvwrapper\Envs\VueShop\Scripts\python36.zip’,
‘E:\Develop_Project\virtualenvwrapper\Envs\VueShop\DLLs’,
‘E:\Develop_Project\virtualenvwrapper\Envs\VueShop\lib’,
‘E:\Develop_Project\virtualenvwrapper\Envs\VueShop\Scripts’,
‘D:\python\python36\Lib’,
‘D:\python\python36\DLLs’,
‘E:\Develop_Project\virtualenvwrapper\Envs\VueShop’,
‘E:\Develop_Project\virtualenvwrapper\Envs\VueShop\lib\site-packages’,
‘D:\Program Files\PyCharm 2018.2.4\helpers\pycharm_matplotlib_backend’]
Server time: 星期四, 7 三月 2019 23:39:33 +0800
Django REST framework课程视频,RESTFul API前后端分离开发
了解课程