摘要: Django显示SQL语句 1、使用connection显示 导入:from django.db import connection 获取SQL语句:connection.queries 样例 @action(detail=False) def test_print_sql(self, reques 阅读全文
posted @ 2022-07-12 16:49 南风丶轻语 阅读(514) 评论(0) 推荐(0) 编辑