Server Error (500)



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:

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!