old_contents: from settings.base import *
  from wheelcms_project.settings.base.util import get_env_variable
  
  DEBUG=False
  
  STRACKS_URL = None # get_env_variable('STRACKS_URL', '')
  
  STRACKS_CONNECTOR = None
  
  if STRACKS_URL:
      from stracks_api.connector import ASyncHTTPConnector
      STRACKS_CONNECTOR = ASyncHTTPConnector(STRACKS_URL)
      MIDDLEWARE_CLASSES += (
          'stracks_api.middleware.StracksMiddleware',
      )
  
  ALLOWED_HOSTS = ["wheelcms.io", "demo.wheelcms.io", "www.wheelcms.io", "demo2.wheelcms.io"]
  
new_contents: from settings.base import *
  from wheelcms_project.settings.base.util import get_env_variable
  
  DEBUG=False
  
  MIDDLEWARE_CLASSES += (
      'wheelcms_axle.middleware.FixMessageMiddleware',
  )
  
  STRACKS_URL = None # get_env_variable('STRACKS_URL', '')
  
  STRACKS_CONNECTOR = None
  
  if STRACKS_URL:
      from stracks_api.connector import ASyncHTTPConnector
      STRACKS_CONNECTOR = ASyncHTTPConnector(STRACKS_URL)
      MIDDLEWARE_CLASSES += (
          'stracks_api.middleware.StracksMiddleware',
      )
  
  ALLOWED_HOSTS = ["wheelcms.io", "demo.wheelcms.io", "www.wheelcms.io", "demo2.wheelcms.io"]
  
subject: include the middleware fixer