old_contents: import os
  from vida.settings.base import *
  from celery.schedules import crontab
  
  INSTALLED_APPS = (
      'django_statsd',
  ) + INSTALLED_APPS
  
  STATSD_HOST = 'stats.garnertb.com'
  STATSD_PREFIX = 'vida'
  STATSD_CELERY_SIGNALS = True
  
  STATSD_PATCHES = [
      'django_statsd.patches.db',
      'django_statsd.patches.cache',
  ]
  
  MIDDLEWARE_CLASSES = (
      'django_statsd.middleware.GraphiteRequestTimingMiddleware',
      'django_statsd.middleware.GraphiteMiddleware',
      'django_statsd.middleware.TastyPieRequestTimingMiddleware'
  ) + MIDDLEWARE_CLASSES
  
  STATSD_PATCHES = [
          'django_statsd.patches.db',
          'django_statsd.patches.cache',
  ]
  
  CACHES = {
      'default': {
          'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache',
          'LOCATION': os.getenv('MEMCACHE_LOCATION', '127.0.0.1:11211'),
      }
  }
  
  AWS_STORAGE_BUCKET_NAME = 'vida-static'
  COMPRESS_STORAGE = 'storages.backends.s3boto.S3BotoStorage'
  COMPRESS_URL = "https://s3.amazonaws.com/vida-static/"
  COMPRESS_STORAGE = "vida.utils.CachedS3BotoStorage"
  STATICFILES_STORAGE = "vida.utils.CachedS3BotoStorage"
  STATIC_URL = COMPRESS_URL
  DEBUG = False
  AWS_QUERYSTRING_AUTH = False
  EMAIL_USE_TLS=True
  
  CELERYBEAT_SCHEDULE = {
      # Executes nightly at midnight.
      'cache_every_midnight': {
          'task': 'tasks.cache.cache_histogram_data',
          'schedule': crontab(),
      },
  }
  
  try:
      from local_settings import *  # noqa
  except ImportError:
      pass
new_contents: import os
  from vida.settings.base import *
  from celery.schedules import crontab
  
  INSTALLED_APPS = (
      'django_statsd',
  ) + INSTALLED_APPS
  
  STATSD_HOST = 'stats.garnertb.com'
  STATSD_PREFIX = 'vida'
  STATSD_CELERY_SIGNALS = True
  
  STATSD_PATCHES = [
      'django_statsd.patches.db',
      'django_statsd.patches.cache',
  ]
  
  MIDDLEWARE_CLASSES = (
      'django_statsd.middleware.GraphiteRequestTimingMiddleware',
      'django_statsd.middleware.GraphiteMiddleware',
      'django_statsd.middleware.TastyPieRequestTimingMiddleware'
  ) + MIDDLEWARE_CLASSES
  
  STATSD_PATCHES = [
          'django_statsd.patches.db',
          'django_statsd.patches.cache',
  ]
  
  #CACHES = {
  #    'default': {
  #        'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache',
  #        'LOCATION': os.getenv('MEMCACHE_LOCATION', '127.0.0.1:11211'),
  #    }
  #}
  
  AWS_STORAGE_BUCKET_NAME = 'vida-static'
  COMPRESS_STORAGE = 'storages.backends.s3boto.S3BotoStorage'
  COMPRESS_URL = "https://s3.amazonaws.com/vida-static/"
  COMPRESS_STORAGE = "vida.utils.CachedS3BotoStorage"
  STATICFILES_STORAGE = "vida.utils.CachedS3BotoStorage"
  STATIC_URL = COMPRESS_URL
  DEBUG = False
  AWS_QUERYSTRING_AUTH = False
  EMAIL_USE_TLS=True
  
  CELERYBEAT_SCHEDULE = {
      # Executes nightly at midnight.
      'cache_every_midnight': {
          'task': 'tasks.cache.cache_histogram_data',
          'schedule': crontab(),
      },
  }
  
  try:
      from local_settings import *  # noqa
  except ImportError:
      pass
subject: disable using memcache