DRF大体的工作流程如下图:

其中:这里的Request不再是Django默认的HttpRequest对象,而是REST Framework提供的扩展了HttpRequest类的Request类对象。



DRF大体的工作流程如下图:
其中:这里的Request不再是Django默认的HttpRequest对象,而是REST Framework提供的扩展了HttpRequest类的Request类对象。
本文标题:DRF框架的工作流程
本文链接:https://www.haomeiwen.com/subject/yrmzzqtx.html
网友评论