text: import os
  import environ
  
  env = environ.Env(
      DEBUG=(bool, False)
  )
  
  READ_DOT_ENV_FILE = env.bool('READ_DOT_ENV_FILE', default=True)
  if READ_DOT_ENV_FILE:
      environ.Env.read_env()
  
  DEBUG = env('DEBUG')
  SECRET_KEY = env('SECRET_KEY')
  
  # Build paths inside the project like this: os.path.join(BASE_DIR, ...)
  from pathlib import Path
  
  BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
  
  ALLOWED_HOSTS = []
  
  # Application definition
  
  INSTALLED_APPS = [
      'whitenoise.runserver_nostatic',
      'django.contrib.admin',
      'django.contrib.auth',
      'django.contrib.contenttypes',
      'django.contrib.sessions',
      'django.contrib.messages',
      'django.contrib.staticfiles',
  
      # local apps
      'agents',
      'leads',
  
      # third party apps
      'crispy_forms',
      "crispy_tailwind",
  ]
  
  MIDDLEWARE = [
      'whitenoise.middleware.WhiteNoiseMiddleware',
      'django.middleware.security.SecurityMiddleware',
      'django.contrib.sessions.middleware.SessionMiddleware',
      'django.middleware.common.CommonMiddleware',
      'django.middleware.csrf.CsrfViewMiddleware',
      'django.contrib.auth.middleware.AuthenticationMiddleware',
      'django.contrib.messages.middleware.MessageMiddleware',
      'django.middleware.clickjacking.XFrameOptionsMiddleware',
  ]
  
  ROOT_URLCONF = 'DarishkaAMS_CRM.urls'
  
  TEMPLATES = [
      {
          'BACKEND': 'django.template.backends.django.DjangoTemplates',
          'DIRS': [os.path.join(BASE_DIR, 'templates')],
          'APP_DIRS': True,
          'OPTIONS': {
              'context_processors': [
                  'django.template.context_processors.debug',
                  'django.template.context_processors.request',
                  'django.contrib.auth.context_processors.auth',
                  'django.contrib.messages.context_processors.messages',
              ],
          },
      },
  ]
  
  WSGI_APPLICATION = 'DarishkaAMS_CRM.wsgi.application'
  
  
  # Database
  # https://docs.djangoproject.com/en/2.2/ref/settings/#databases
  
  DATABASES = {
      'default': {
          'ENGINE': 'django.db.backends.sqlite3',
          'NAME': os.path.join(BASE_DIR, 'db.sqlite3'),
      }
  }
  
  
  # Password validation
  # https://docs.djangoproject.com/en/2.2/ref/settings/#auth-password-validators
  
  AUTH_PASSWORD_VALIDATORS = [
      {
          'NAME': 'django.contrib.auth.password_validation.UserAttributeSimilarityValidator',
      },
      {
          'NAME': 'django.contrib.auth.password_validation.MinimumLengthValidator',
      },
      {
          'NAME': 'django.contrib.auth.password_validation.CommonPasswordValidator',
      },
      {
          'NAME': 'django.contrib.auth.password_validation.NumericPasswordValidator',
      },
  ]
  
  
  # Internationalization
  # https://docs.djangoproject.com/en/2.2/topics/i18n/
  
  LANGUAGE_CODE = 'en-us'
  
  TIME_ZONE = 'UTC'
  
  USE_I18N = True
  
  USE_L10N = True
  
  USE_TZ = True
  
  
  # Static files (CSS, JavaScript, Images)
  # https://docs.djangoproject.com/en/2.2/howto/static-files/
  
  STATIC_URL = '/static/'
  STATICFILES_DIRS = [
      os.path.join(BASE_DIR, "static"),
  ]
  STATIC_ROOT = os.path.join(BASE_DIR, "static-root")
  STATICFILES_STORAGE = 'whitenoise.storage.CompressedManifestStaticFilesStorage'
  
  AUTH_USER_MODEL = 'leads.User'
  
  LOGIN_REDIRECT_URL = "/leads"
  LOGIN_URL = "/login"
  LOGOUT_REDIRECT_URL = "/"
  
  CRISPY_ALLOWED_TEMPLATE_PACKS = "tailwind"
  CRISPY_TEMPLATE_PACK = "tailwind"
  
  if not DEBUG:
      SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTO', 'https')
      SECURE_SSL_REDIRECT = True
      SESSION_COOKIE_SECURE = True
      CSRF_COOKIE_SECURE = True
      SECURE_BROWSER_XSS_FILTER = True
      SECURE_CONTENT_TYPE_NOSNIFF = True
      SECURE_HSTS_SECONDS = 60
      SECURE_HSTS_INCLUDE_SUBDOMAINS = True
      SECURE_HSTS_PRELOAD = True
      X_FRAME_OPTIONS = "DENY"
  
      ALLOWED_HOSTS = ["*"] # or my_domain.com
  
  # EMAIL_BACKEND = "django.core.mail.backends.smtp.EmailBackend"
  # EMAIL_HOST = env("EMAIL_HOST")
  # EMAIL_HOST_USER = env("EMAIL_HOST_USER")
  # EMAIL_HOST_PASSWORD = env("EMAIL_HOST_PASSWORD")
  # EMAIL_USE_TLS = True
  # EMAIL_PORT = 587
  # DEFAULT_FROM_EMAIL = env("DEFAULT_FROM_EMAIL")
  