"""Settings package initialization."""

import dotenv
dotenv.load()

# Ensure development settings are not used in testing and production:
if dotenv.get('ENVIRONMENT') == 'HEROKU':
    from .production import *
elif dotenv.get('ENVIRONMENT') == 'TRAVIS':
    from .testing import *
else:
    from .local import *

"""Settings package initialization."""

import dotenv
dotenv.load()

# Ensure development settings are not used in testing and production:
if dotenv.get('ENVIRONMENT') == 'PRODUCTION':
    from .production import *
elif dotenv.get('ENVIRONMENT') == 'TRAVIS':
    from .testing import *
else:
    from .local import *

Change ENVIRONMENT variable from HEROKU to PRODUCTION