old_contents: import os
  
  
  DEBUG = True
  TEMPLATE_DEBUG = DEBUG
  
  ADMINS = ()
  MANAGERS = ADMINS
  
  DATABASES = {
      'default': {
          'ENGINE': 'django.db.backends.sqlite3',
          'NAME': 'diplomacy.db3',
          'USER': '',
          'PASSWORD': '',
          'HOST': '',
          'PORT': '',
      }
  }
  
  TIME_ZONE = 'America/New_York'
  LANGUAGE_CODE = 'en-us'
  SITE_ID = 1
  
  USE_I18N = True
  USE_L10N = True
  USE_TZ = True
  
  MEDIA_ROOT = os.path.abspath(os.path.join(os.path.curdir, 'media'))
  MEDIA_URL = '/media/'
  
  STATIC_ROOT = ''
  STATIC_URL = '/static/'
  
  STATICFILES_DIRS = (
  )
  
  STATICFILES_FINDERS = (
      'django.contrib.staticfiles.finders.FileSystemFinder',
      'django.contrib.staticfiles.finders.AppDirectoriesFinder',
  )
  
  SECRET_KEY = 'ej17g+om@63l!-j%f!@(7xzr!3nw8s4i+zizw%jmee*n1rho&amp;s'
  
  TEMPLATE_LOADERS = (
      'django.template.loaders.filesystem.Loader',
      'django.template.loaders.app_directories.Loader',
  )
  
  MIDDLEWARE_CLASSES = (
      'django.middleware.common.CommonMiddleware',
      'django.contrib.sessions.middleware.SessionMiddleware',
      'django.middleware.csrf.CsrfViewMiddleware',
      'django.contrib.auth.middleware.AuthenticationMiddleware',
      'django.contrib.messages.middleware.MessageMiddleware',
  )
  
  ROOT_URLCONF = 'sample_project.urls'
  
  WSGI_APPLICATION = 'sample_project.wsgi.application'
  
  TEMPLATE_DIRS = (
      os.path.abspath(
          os.path.join(os.path.curdir, 'sample_project', 'templates')),
  )
  
  INSTALLED_APPS = (
      'django.contrib.auth',
      'django.contrib.contenttypes',
      'django.contrib.sessions',
      'django.contrib.sites',
      'django.contrib.messages',
      'django.contrib.staticfiles',
      'diplomacy',
  )
  
  SESSION_SERIALIZER = 'django.contrib.sessions.serializers.JSONSerializer'
  
new_contents: import os
  
  
  DEBUG = True
  TEMPLATE_DEBUG = DEBUG
  
  DATABASES = {
      'default': {
          'ENGINE': 'django.db.backends.sqlite3',
          'NAME': 'diplomacy.db3',
          'USER': '',
          'PASSWORD': '',
          'HOST': '',
          'PORT': '',
      }
  }
  
  TIME_ZONE = 'America/New_York'
  LANGUAGE_CODE = 'en-us'
  
  USE_I18N = True
  USE_L10N = True
  USE_TZ = True
  
  MEDIA_ROOT = os.path.abspath(os.path.join(os.path.curdir, 'media'))
  MEDIA_URL = '/media/'
  
  STATIC_ROOT = ''
  STATIC_URL = '/static/'
  
  STATICFILES_DIRS = (
  )
  
  STATICFILES_FINDERS = (
      'django.contrib.staticfiles.finders.FileSystemFinder',
      'django.contrib.staticfiles.finders.AppDirectoriesFinder',
  )
  
  SECRET_KEY = 'ej17g+om@63l!-j%f!@(7xzr!3nw8s4i+zizw%jmee*n1rho&amp;s'
  
  MIDDLEWARE_CLASSES = (
      'django.contrib.sessions.middleware.SessionMiddleware',
      'django.middleware.common.CommonMiddleware',
      'django.middleware.csrf.CsrfViewMiddleware',
      'django.contrib.auth.middleware.AuthenticationMiddleware',
      'django.contrib.auth.middleware.SessionAuthenticationMiddleware',
      'django.contrib.messages.middleware.MessageMiddleware',
      'django.middleware.clickjacking.XFrameOptionsMiddleware',
  )
  
  ROOT_URLCONF = 'sample_project.urls'
  
  WSGI_APPLICATION = 'sample_project.wsgi.application'
  
  TEMPLATE_DIRS = (
      os.path.abspath(
          os.path.join(os.path.curdir, 'sample_project', 'templates')),
  )
  
  INSTALLED_APPS = (
      'django.contrib.auth',
      'django.contrib.contenttypes',
      'django.contrib.sessions',
      'django.contrib.sites',
      'django.contrib.messages',
      'django.contrib.staticfiles',
      'diplomacy',
  )
  
  SESSION_SERIALIZER = 'django.contrib.sessions.serializers.JSONSerializer'
  
subject: Adjust the sample_project settings to avoid test runner deprecation warning