import platform PRODUCTION_MODE = platform.node().startswith('http')