text: import logging
  
  from .base import *  # noqa
  from .base import env
  
  # GENERAL
  # ------------------------------------------------------------------------------
  SECRET_KEY = env("DJANGO_SECRET_KEY")
  ALLOWED_HOSTS = env.list("DJANGO_ALLOWED_HOSTS", default=["lightsail.egorindev.tech"])
  
  # DATABASES
  # ------------------------------------------------------------------------------
  DATABASES["default"] = env.db("DATABASE_URL")
  DATABASES["default"]["ATOMIC_REQUESTS"] = True
  DATABASES["default"]["CONN_MAX_AGE"] = env.int("CONN_MAX_AGE", default=60)
  
  # SECURITY
  # ------------------------------------------------------------------------------
  SECURE_PROXY_SSL_HEADER = ("HTTP_X_FORWARDED_PROTO", "https")
  SECURE_SSL_REDIRECT = env.bool("DJANGO_SECURE_SSL_REDIRECT", default=True)
  SESSION_COOKIE_SECURE = True
  CSRF_COOKIE_SECURE = True
  # TODO: set this to 60 seconds first and then to 518400 once you prove the former works
  SECURE_HSTS_SECONDS = 60
  SECURE_HSTS_INCLUDE_SUBDOMAINS = env.bool(
      "DJANGO_SECURE_HSTS_INCLUDE_SUBDOMAINS", default=True
  )
  SECURE_HSTS_PRELOAD = env.bool("DJANGO_SECURE_HSTS_PRELOAD", default=True)
  SECURE_CONTENT_TYPE_NOSNIFF = env.bool(
      "DJANGO_SECURE_CONTENT_TYPE_NOSNIFF", default=True
  )
  
  # LOGGING
  # ------------------------------------------------------------------------------
  # https://docs.djangoproject.com/en/dev/ref/settings/#logging
  # See https://docs.djangoproject.com/en/dev/topics/logging for
  # more details on how to customize your logging configuration.
  LOGGING = {
      "version": 1,
      "disable_existing_loggers": True,
      "formatters": {
          "verbose": {
              "format": "%(levelname)s %(asctime)s %(module)s "
              "%(process)d %(thread)d %(message)s"
          }
      },
      "handlers": {
          "console": {
              "level": "DEBUG",
              "class": "logging.StreamHandler",
              "formatter": "verbose",
          }
      },
      "root": {"level": "INFO", "handlers": ["console"]},
      "loggers": {
          "django.db.backends": {
              "level": "ERROR",
              "handlers": ["console"],
              "propagate": False,
          },
          # Errors logged by the SDK itself
          # "sentry_sdk": {"level": "ERROR", "handlers": ["console"], "propagate": False},
          "django.security.DisallowedHost": {
              "level": "ERROR",
              "handlers": ["console"],
              "propagate": False,
          },
      },
  }
  