Add error handling and logging for importer

This commit is contained in:
Sascha Ißbrücker
2020-06-07 14:15:44 +02:00
parent 1ab4aa5045
commit 10fd3d89be
4 changed files with 66 additions and 21 deletions

View File

@@ -29,7 +29,7 @@ LOGGING = {
},
'loggers': {
'django.db.backends': {
'level': 'DEBUG',
'level': 'ERROR', # Set to DEBUG to log all SQL calls
'handlers': ['console'],
}
}