old_contents: from django.conf import settings
  #import os
  
  ## connect to the linked docker postgres db
  DATABASES = {
      'default': {
          'ENGINE': 'django.db.backends.postgresql_psycopg2',
          'NAME': 'website',
          'USER': 'website',
          'HOST': 'localhost',
          'PORT': 5432,
      }
  }
  
  ## we extend INSTALLED_APPS here.
  ## Any apps you want to install you can
  ## just add here (or use app.py)
  #settings.INSTALLED_APPS.extend([
  #    'rest_framework',
  #    'user',
  #])
  
  ## Rest framework settings
  #REST_FRAMEWORK = {
  #    # Use Django's standard `django.contrib.auth` permissions,
  #    # or allow read-only access for unauthenticated users.
  #    'DEFAULT_PERMISSION_CLASSES': [
  #        'rest_framework.permissions.DjangoModelPermissionsOrAnonReadOnly'
  #    ]
  #}
  
  ## We set the static root to the mapped volume /code
  ## When you run docker-compose run web python manage.py collectstatic
  ## You will notice that it creates a `static` directory in the
  ## root folder of the project
  #STATIC_ROOT = '/code/static/'
  
new_contents: from django.conf import settings
  #import os
  
  ## connect to the linked docker postgres db
  DATABASES = {
      'default': {
          'ENGINE': 'django.db.backends.postgresql_psycopg2',
          'NAME': 'website',
          'USER': 'website',
          'PASSWORD': 'website',
          'HOST': 'localhost',
          'PORT': 5432,
      }
  }
  
  ## we extend INSTALLED_APPS here.
  ## Any apps you want to install you can
  ## just add here (or use app.py)
  #settings.INSTALLED_APPS.extend([
  #    'rest_framework',
  #    'user',
  #])
  
  ## Rest framework settings
  #REST_FRAMEWORK = {
  #    # Use Django's standard `django.contrib.auth` permissions,
  #    # or allow read-only access for unauthenticated users.
  #    'DEFAULT_PERMISSION_CLASSES': [
  #        'rest_framework.permissions.DjangoModelPermissionsOrAnonReadOnly'
  #    ]
  #}
  
  ## We set the static root to the mapped volume /code
  ## When you run docker-compose run web python manage.py collectstatic
  ## You will notice that it creates a `static` directory in the
  ## root folder of the project
  #STATIC_ROOT = '/code/static/'
  
subject: add password for postgres