drf 配置的步骤 安装第三方库 pip install djangorestframework, markdown , django-filter 在 settings.py启用 django-rest-framework INSTALLED_APPS = [ .... 'rest_framework', ]