Probeer dit
# settings.py
DATABASES = {
'default': {
'ENGINE': '...',
'OPTIONS': {
'init_command': "SET log_error_verbosity TO 'verbose'",
},
}
}
Testquery
SELECT setting FROM pg_settings WHERE name = 'log_error_verbosity'