1👍
✅
IIUC, you set DEBUG=1
but then you checking os.environ.get('DEBUG') == "True"
which is always False
.
Try to change it to os.environ.get('DEBUG') == "1"
Source:stackexchange.com