输入banner图图片脚本导航/分类

Django设置查看原生SQL语句

version: 1, disable_existing_loggers: False, handlers: { console:{ level:DEBUG, class:logging.StreamHandler, }, }, loggers: { django.db.backends: { handlers: [console], propagate: True, level:DEBUG, }, } }  

可以查看orm底层的SQL语句,然后借助explain进行分析

Django设置查看原生SQL语句

标签:exp   isa   als   version   back   disable   orm   hand   设置