I have a django application that always returns a 500 error page. I have the following code in settings.py:
import os DEBUG = True TEMPLATE_DEBUG = DEBUG try: from local_settings import * except ImportError, e: pass
and local_settings.py:
DEBUG = False ALLOWED_HOSTS = ['*']
I have this on the local computer, it always returns an 500 error code, regardless of what I type in ALLOWED_HOSTS
dease source share