阅读背景:

Django rest_framework。查看如何跳过简单rest API的数据库连接

来源:互联网 

Is there a way to disable default behaviour of django rest framework so that it don't lookup backend database? In my project I have few simple API's which don't need database. But behind the scene Django try to connect with database which adds extra milli seconds in response time. Is there a way to disable default behaviour of




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: