首页 > TAG信息列表 > sers

django rest framework快速使用

一、安装相关的依赖 $ pip install djangorestframework $ pip install markdown # Markdown support for the browsable API. $ pip install django-filter # Filtering support 二、将rest_framework添加到INSTALLED_APPS中 setting.py INSTALLED_APPS = [ ...