During development I had DEBUG = True and I got debug tracings. Then I switched to DEBUG = False for testing the 404 / 500 pages.
Now, after I switched back to DEBUG = True I get no tracings, only “Internal Server Error” message.
How do I get those debug tracings back?
Thanks
Martin Weberg
How are you checking that DEBUG is set to True? Try
python manage.py shell
At the python prompt enter
from django.conf import settings
settings.DEBUG
what is the result?
If it is False then Debug maybe getting reset in perhaps a local_settings.py file (or some other place). Then do a grep -r “DEBUG = False” * from the project directory.
If the result for settings.DEBUG was True, then either apache is loading the wrong wsgi, or wsgi is loading the wrong settings.py file.
Which settings.py file is wsgi using?