old_contents: 
  from os.path import abspath, basename, dirname
  from sys import path
  
  
  DJANGO_ROOT = dirname(dirname(abspath(__file__)))
  
  # Absolute filesystem path to the top-level project folder:
  SITE_ROOT = dirname(DJANGO_ROOT)
  
  # Site name:
  SITE_NAME = basename(DJANGO_ROOT)
  
  
new_contents: 
  from os.path import abspath, basename, dirname
  
  DJANGO_ROOT = dirname(dirname(abspath(__file__)))
  
  # Absolute filesystem path to the top-level project folder:
  SITE_ROOT = dirname(DJANGO_ROOT)
  
  # Site name:
  SITE_NAME = basename(DJANGO_ROOT)
  
  
subject: Remove redundant import.