drf 配置的步骤

drf 配置的步骤

  1. 安装第三方库
  pip install djangorestframework, markdown , django-filter
  
  1. settings.py启用 django-rest-framework
  INSTALLED_APPS = [
	  ....
	  'rest_framework',
  ]