old_contents: """
  WSGI config for BAMA_Analytics project.
  
  It exposes the WSGI callable as a module-level variable named ``application``.
  
  For more information on this file, see
  https://docs.djangoproject.com/en/1.6/howto/deployment/wsgi/
  """
  
  import os
  os.environ.setdefault("DJANGO_SETTINGS_MODULE", "BAMA_Analytics.settings")
  
  from django.core.wsgi import get_wsgi_application
  application = get_wsgi_application()
  
new_contents: """
  WSGI config for BAMA_Analytics project.
  
  It exposes the WSGI callable as a module-level variable named ``application``.
  
  For more information on this file, see
  https://docs.djangoproject.com/en/1.6/howto/deployment/wsgi/
  """
  
  import os
  os.environ.setdefault("DJANGO_SETTINGS_MODULE", "BAMA_Analytics.settings")
  
  paths = [
      '/srv/django-projects/BAMA_Analytics',
      '/srv/django-projects/BAMA_Analytics/BAMA_Analytics'
  ]
  
  for path in paths:
      if path not in sys.path:
          sys.path.append(path)
  
  from django.core.wsgi import get_wsgi_application
  application = get_wsgi_application()
  
subject: add settings dir to system path for wsgi