摘要:
3.1 Djang 对 request 的处理 以本地开发为例,当浏览器发起一次请求时,Django 中的 wsgi 创建一个 WSGIHandler 对象处理请求。在WSGIHandler 对象中初始化环境变量,如果没有异常,则调用 self.get_response(request) 函数处理请 阅读全文
posted @ 2021-01-25 20:34
不带R的墨菲特
阅读(1051)
评论(1)
推荐(0)
摘要:
from django.utils.decorators import method_decoratorfrom drf_yasg.utils import swagger_auto_schemafrom drf_yasg import openapi class BatchTestSuiteVie 阅读全文
posted @ 2021-01-25 11:41
不带R的墨菲特
阅读(3515)
评论(4)
推荐(0)