Server Error (500)

python

#1

I’m changing my development server over to production, and I’m getting a 500 error page as soon as I set DEBUG=False in the settings.

I’ve been googling around, and have already checked here: http://stackoverflow.com/questions/15128135/django-setting-debug-false-causes-500-error

I have set ALLOWED_HOSTS = [], and also tried ALLOWED_HOSTS = [’*’] but neither solves the 500 server errors.

I have a custom 500 and 404 template written. The error log isn’t showing anything on the server. I’m tearing my hair out a little on this one. Are there any other settings that could be triggering a problem when I switch off debug mode?

Thanks in advance!