old_contents: from .settings import *
  
  
  DATABASES = {
      'default': {
          'ENGINE': 'django.db.backends.postgresql',
          'NAME': 'timeline_logger',
          'USERNAME': 'postgres',
          'PASSWORD': '',
      }
  }
  
new_contents: import os
  
  from .settings import *  # noqa
  
  
  DATABASES = {
      'default': {
          'ENGINE': 'django.db.backends.postgresql',
          'NAME': 'timeline_logger',
          'USER': os.getenv('PGUSER', 'postgres'),
          'PASSWORD': os.getenv('PGPASSWORD', ''),
          'HOST': os.getenv('PGHOST', ''),
          'PORT': os.getenv('PGPORT', 5432),
      }
  }
  
subject: Fix database settings