报错内容:No module named 'rest_framework’即没有安装rest_framework 解决方案:pip install djangorestframework !!注意:不可以是pip install rest_framework