from settings import *

DEBUG = False
TEMPLATE_DEBUG = False
ALLOWED_HOSTS = ['*']
#ALLOWED_HOSTS = ['http://ec2-52-37-133-225.us-west-2.compute.amazonaws.com', 'localhost']
STATIC_ROOT = os.path.join(BASE_DIR, 'static')

from settings import *

DEBUG = True
TEMPLATE_DEBUG = False
ALLOWED_HOSTS = ['*']
#ALLOWED_HOSTS = ['http://ec2-52-37-133-225.us-west-2.compute.amazonaws.com', 'localhost']
STATIC_ROOT = os.path.join(BASE_DIR, 'static')

Update production.py