Fix bug reading boolean config casting
This commit is contained in:
parent
78098a3692
commit
c670eb52e9
1 changed files with 1 additions and 1 deletions
|
@ -207,7 +207,7 @@ LOGGING = {
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
if config('ENABLE_DEBUG_LOG', False):
|
if config('ENABLE_DEBUG_LOG', cast=bool, default=False):
|
||||||
loggers_dict = {}
|
loggers_dict = {}
|
||||||
LOGGING['handlers']['file'] = {
|
LOGGING['handlers']['file'] = {
|
||||||
'level': 'DEBUG',
|
'level': 'DEBUG',
|
||||||
|
|
Loading…
Reference in a new issue