Commit c670eb52 authored by PCoder's avatar PCoder

Fix bug reading boolean config casting

parent 78098a36
......@@ -207,7 +207,7 @@ LOGGING = {
},
}
if config('ENABLE_DEBUG_LOG', False):
if config('ENABLE_DEBUG_LOG', cast=bool, default=False):
loggers_dict = {}
LOGGING['handlers']['file'] = {
'level': 'DEBUG',
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment