I use Django 1.6.5 in my program txsite with the settings:
DEBUG = True
I set DEBUG to False, but when I runserver, I get the following error:
CommandError: You must set settings.ALLOWED_HOSTS if DEBUG is False
I tried setting ALLOWED_HOSTS = ['127.0.0.1', 'localhost'] but I get the same error.
anyone know how to figure it out?