Django REST Framework--安装及配置 一、安装二、配置 一、安装 pip install djangorestframework 二、配置 INSTALLED_APPS = [ ... 'rest_framework', ... ]