What does leaving DEBUG = True in production expose?
- A Only slower performance
- B Full tracebacks including settings, environment variables and source code
- C Nothing significant
- D Only database queries
Answer
Full tracebacks including settings, environment variables and source code
Debug pages reveal secrets and internal structure to anyone triggering an error. This is one of the most serious Django misconfigurations.





