[Answered ]-Docker container Django debug mode true, still production mode

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"

Leave a comment