Update 'templates/settings.py.j2'

This commit is contained in:
jens 2021-04-11 22:43:57 +00:00
parent c093d59488
commit 3b59c9de34
1 changed files with 20 additions and 0 deletions

View File

@ -88,6 +88,26 @@ DATABASES = {
}
}
LOGGING = {
'version': 1,
'disable_existing_loggers': False,
'handlers': {
'file': {
'level': 'DEBUG',
'class': 'logging.FileHandler',
'filename': '{{im_home}}/im_debug.log',
},
},
'loggers': {
'django': {
'handlers': ['file'],
'level': 'DEBUG',
'propagate': True,
},
},
}
# Password validation
# https://docs.djangoproject.com/en/2.1/ref/settings/#auth-password-validators