old_contents: 
  import os
  import syskey
  
  DEBUG = os.environ.get('SERVER_SOFTWARE', '').startswith('Development') 
  TEMPLATE_DEBUG = DEBUG
  
  ADMINS = (
      # ('Your Name', 'your_email@domain.com'),
  )
  
  MANAGERS = ADMINS
  
  
  CACHE_BACKEND = 'memcached:///'
  
  TIME_ZONE = 'Asia/Tokyo Japan'
  
  LANGUAGE_CODE = 'jp'
  
  SITE_ID = 1
  
  USE_I18N = True
  
  # Absolute path to the directory that holds media.
  # Example: "/home/media/media.lawrence.com/"
  MEDIA_ROOT = ''
  
  # URL that handles the media served from MEDIA_ROOT. Make sure to use a
  # trailing slash if there is a path component (optional in other cases).
  # Examples: "http://media.lawrence.com", "http://example.com/media/"
  MEDIA_URL = ''
  
  # URL prefix for admin media -- CSS, JavaScript and images. Make sure to use a
  # trailing slash.
  # Examples: "http://foo.com/media/", "/media/".
  ADMIN_MEDIA_PREFIX = '/media/'
  
  # Make this unique, and don't share it with anybody.
  SECRET_KEY = syskey.secret_key
  
  # Ensure that email is not sent via SMTP by default to match the standard App
  # Engine SDK behaviour. If you want to sent email via SMTP then add the name of
  # your mailserver here.
  EMAIL_HOST = ''
  
  
  
  MIDDLEWARE_CLASSES = (
      'google.appengine.ext.ndb.django_middleware.NdbDjangoMiddleware',
      'django.middleware.common.CommonMiddleware',
      'django.middleware.csrf.CsrfViewMiddleware',
  #    'django.contrib.sessions.middleware.SessionMiddleware',
  #    'django.contrib.auth.middleware.AuthenticationMiddleware',
  #    'django.middleware.doc.XViewMiddleware',
  )
  
  TEMPLATE_CONTEXT_PROCESSORS = (
  #   'django.core.context_processors.auth',
      'django.core.context_processors.debug',
      'django.core.context_processors.i18n',
  #    'django.core.context_processors.media',  # 0.97 only.
  #    'django.core.context_processors.request',
  )
  
  ROOT_URLCONF = 'urls'
  
  ROOT_PATH = os.path.dirname(__file__)
  
  TEMPLATE_DIRS = (
      os.path.join(ROOT_PATH, 'templates'),
  )
  
  PREPARE_UPLOAD_BACKEND = 'app.libs.filetransfers.backends.default.prepare_upload'
  SERVE_FILE_BACKEND = 'app.libs.filetransfers.backends.default.serve_file'
  PUBLIC_DOWNLOAD_URL_BACKEND = 'app.filetransfers.backends.default.public_download_url'
  
  INSTALLED_APPS = (
  #     'appengine_django',
       'app',
       'app.libs.bootstrapform',
       'app.libs.filetransfers',
  #    'django.contrib.auth',
  #    'django.contrib.contenttypes',
  #    'django.contrib.sessions',
  #    'django.contrib.sites',
  )
  
new_contents: 
  import os
  import syskey
  
  DEBUG = os.environ.get('SERVER_SOFTWARE', '').startswith('Development') 
  TEMPLATE_DEBUG = DEBUG
  
  if not DEBUG:
      ALLOWED_HOSTS = ["*"]
   
  ADMINS = (
      # ('Your Name', 'your_email@domain.com'),
  )
  
  MANAGERS = ADMINS
  
  
  CACHE_BACKEND = 'memcached:///'
  
  TIME_ZONE = 'Asia/Tokyo Japan'
  
  LANGUAGE_CODE = 'jp'
  
  SITE_ID = 1
  
  USE_I18N = True
  
  # Absolute path to the directory that holds media.
  # Example: "/home/media/media.lawrence.com/"
  MEDIA_ROOT = ''
  
  # URL that handles the media served from MEDIA_ROOT. Make sure to use a
  # trailing slash if there is a path component (optional in other cases).
  # Examples: "http://media.lawrence.com", "http://example.com/media/"
  MEDIA_URL = ''
  
  # URL prefix for admin media -- CSS, JavaScript and images. Make sure to use a
  # trailing slash.
  # Examples: "http://foo.com/media/", "/media/".
  ADMIN_MEDIA_PREFIX = '/media/'
  
  # Make this unique, and don't share it with anybody.
  SECRET_KEY = syskey.secret_key
  
  # Ensure that email is not sent via SMTP by default to match the standard App
  # Engine SDK behaviour. If you want to sent email via SMTP then add the name of
  # your mailserver here.
  EMAIL_HOST = ''
  
  
  
  MIDDLEWARE_CLASSES = (
      'google.appengine.ext.ndb.django_middleware.NdbDjangoMiddleware',
      'django.middleware.common.CommonMiddleware',
      'django.middleware.csrf.CsrfViewMiddleware',
  #    'django.contrib.sessions.middleware.SessionMiddleware',
  #    'django.contrib.auth.middleware.AuthenticationMiddleware',
  #    'django.middleware.doc.XViewMiddleware',
  )
  
  TEMPLATE_CONTEXT_PROCESSORS = (
  #   'django.core.context_processors.auth',
      'django.core.context_processors.debug',
      'django.core.context_processors.i18n',
  #    'django.core.context_processors.media',  # 0.97 only.
  #    'django.core.context_processors.request',
  )
  
  ROOT_URLCONF = 'urls'
  
  ROOT_PATH = os.path.dirname(__file__)
  
  TEMPLATE_DIRS = (
      os.path.join(ROOT_PATH, 'templates'),
  )
  
  PREPARE_UPLOAD_BACKEND = 'app.libs.filetransfers.backends.default.prepare_upload'
  SERVE_FILE_BACKEND = 'app.libs.filetransfers.backends.default.serve_file'
  PUBLIC_DOWNLOAD_URL_BACKEND = 'app.filetransfers.backends.default.public_download_url'
  
  INSTALLED_APPS = (
  #     'appengine_django',
       'app',
       'app.libs.bootstrapform',
       'app.libs.filetransfers',
  #    'django.contrib.auth',
  #    'django.contrib.contenttypes',
  #    'django.contrib.sessions',
  #    'django.contrib.sites',
  )
  
subject: Add allowed hosts