Django_终端打印原生SQL语句
时间:2021-07-01 10:21:17
帮助过:4人阅读
LOGGING =
{
2 ‘version‘: 1
,
3 ‘disable_existing_loggers‘: False,
4 ‘handlers‘: {
5 ‘console‘:{
6 ‘level‘:
‘DEBUG‘,
7 ‘class‘:
‘logging.StreamHandler‘,
8 },
9 },
10 ‘loggers‘: {
11 ‘django.db.backends‘: {
12 ‘handlers‘: [
‘console‘],
13 ‘propagate‘: True,
14 ‘level‘:
‘DEBUG‘,
15 },
16 }
17 }
Django_终端打印原生SQL语句
标签:existing exist 打印 ken end ogg sql style version