old_contents: """
  Settings for testing the application.
  """
  DEBUG = True
  
  DJANGO_RDFLIB_DEVELOP = True
  
  DATABASES = {
      'default': {
          'ENGINE': 'django.db.backends.sqlite3',
          'NAME': 'rdflib_django.db',
          'USER': '',
          'PASSWORD': '',
          'HOST': '',
          'PORT': '',
          }
  }
  
  SITE_ID = 1
  
  STATIC_URL = '/static/'
  
  INSTALLED_APPS = (
      'django.contrib.auth',
      'django.contrib.contenttypes',
      'django.contrib.sessions',
      'django.contrib.sites',
      'django.contrib.messages',
      'django.contrib.staticfiles',
      'django.contrib.admin',
      'django.contrib.admindocs',
  
      'rdflib_django',
      )
  ROOT_URLCONF = 'rdflib_django.urls'
  
  LOGGING = {
      'version': 1,
      'disable_existing_loggers': True,
      'formatters': {
          'simple': {
              'format': '%(levelname)s %(message)s'
          },
          },
      'handlers': {
          'console': {
              'level': 'DEBUG',
              'class': 'logging.StreamHandler',
              'formatter': 'simple'
          },
          },
      'loggers': {
          '': {
              'handlers': ['console'],
              'propagate': True,
              'level': 'DEBUG',
              },
          }
  }
  
new_contents: """
  Settings for testing the application.
  """
  import os
  
  DEBUG = True
  
  DJANGO_RDFLIB_DEVELOP = True
  
  DB_PATH = os.path.abspath(os.path.join(__file__, '..', '..', '..', 'rdflib_django.db'))
  
  DATABASES = {
      'default': {
          'ENGINE': 'django.db.backends.sqlite3',
          'NAME': DB_PATH,
          'USER': '',
          'PASSWORD': '',
          'HOST': '',
          'PORT': '',
          }
  }
  
  SITE_ID = 1
  
  STATIC_URL = '/static/'
  
  INSTALLED_APPS = (
      'django.contrib.auth',
      'django.contrib.contenttypes',
      'django.contrib.sessions',
      'django.contrib.sites',
      'django.contrib.messages',
      'django.contrib.staticfiles',
      'django.contrib.admin',
      'django.contrib.admindocs',
  
      'rdflib_django',
      )
  ROOT_URLCONF = 'rdflib_django.urls'
  
  LOGGING = {
      'version': 1,
      'disable_existing_loggers': True,
      'formatters': {
          'simple': {
              'format': '%(levelname)s %(message)s'
          },
          },
      'handlers': {
          'console': {
              'level': 'DEBUG',
              'class': 'logging.StreamHandler',
              'formatter': 'simple'
          },
          },
      'loggers': {
          '': {
              'handlers': ['console'],
              'propagate': True,
              'level': 'INFO',
              },
          }
  }
  
subject: Disable debugging