djangorestframework的使用

1、安装依赖

pip install djangorestframework

2、INSTALLED_APP中注册

添加到其中即可。

你可能感兴趣的:(djangorestframework的使用)