import os

if os.getenv('OPENSHIFT_REPO_DIR'):
    from .staging import *
elif os.getenv('TRAVIS_CI'):
    from .testing import *
else:
    from .development import *
import os

if os.getenv('OPENSHIFT_REPO_DIR'):
    from .staging import *
elif os.getenv('TRAVIS_CI'):
    from .testing import *
elif os.getenv('HEROKU'):
    from .production import *
else:
    from .development import *
Use production settings in Heroku
[fix] Use production settings in Heroku

  import os
  
  if os.getenv('OPENSHIFT_REPO_DIR'):
      from .staging import *
  elif os.getenv('TRAVIS_CI'):
      from .testing import *
+ elif os.getenv('HEROKU'):
+     from .production import *
  else:
      from .development import *
Use production settings in Heroku
## Code Before:
import os

if os.getenv('OPENSHIFT_REPO_DIR'):
    from .staging import *
elif os.getenv('TRAVIS_CI'):
    from .testing import *
else:
    from .development import *
## Instruction:
Use production settings in Heroku
## Code After:
import os

if os.getenv('OPENSHIFT_REPO_DIR'):
    from .staging import *
elif os.getenv('TRAVIS_CI'):
    from .testing import *
elif os.getenv('HEROKU'):
    from .production import *
else:
    from .development import *