old_contents: import os
  
  DEBUG = True
  
  DIRNAME = os.path.abspath(os.path.dirname(__file__))
  
  DATABASES = {
      'default': {
          'ENGINE': 'django.db.backends.sqlite3',
          'NAME': ':memory:',
      }
  }
  
  # MEDIA_URL = '/media/'
  # MEDIA_ROOT = '/tmp/media'
  # STATIC_URL = '/static/'
  # STATIC_ROOT = '/tmp/static'
  MEDIA_ROOT = os.path.join(DIRNAME, 'media')
  MEDIA_URL = '/media/'
  STATIC_ROOT = os.path.join(DIRNAME, 'static')
  STATIC_URL = '/static/'
  
  INSTALLED_APPS = (
      'wkhtmltopdf.tests',
      'wkhtmltopdf',
  )
  
  TEMPLATE_DIRS = [
      os.path.join(DIRNAME, 'testproject', 'tests', 'templates'),
  ]
  
  WKHTMLTOPDF_DEBUG = DEBUG
  
new_contents: import os
  
  DEBUG = True
  
  DIRNAME = os.path.abspath(os.path.dirname(__file__))
  
  DATABASES = {
      'default': {
          'ENGINE': 'django.db.backends.sqlite3',
          'NAME': ':memory:',
      }
  }
  
  MEDIA_ROOT = os.path.join(DIRNAME, 'media')
  MEDIA_URL = '/media/'
  STATIC_ROOT = os.path.join(DIRNAME, 'static')
  STATIC_URL = '/static/'
  
  INSTALLED_APPS = (
      'wkhtmltopdf.tests',
      'wkhtmltopdf',
  )
  
  TEMPLATE_DIRS = [
      os.path.join(DIRNAME, 'testproject', 'tests', 'templates'),
  ]
  
  WKHTMLTOPDF_DEBUG = DEBUG
  
subject: Remove unwanted settings vars from test project