text: import os
  import environ
  
  env = environ.Env()
  
  BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
  TEMPLATE_DIR = os.path.join(BASE_DIR, "templates")
  
  environ.Env.read_env(env_file=os.path.join(BASE_DIR, "../.env"))
  
  SECRET_KEY = env(
      "SECRET_KEY",
      default="secret-key-of-at-least-50-characters-to-pass-check-deploy",
  )
  
  DEBUG = env.bool("DEBUG", default=True)
  
  ALLOWED_HOSTS = ["*"]
  
  
  INSTALLED_APPS = [
      "django.contrib.admin",
      "django.contrib.auth",
      "django.contrib.contenttypes",
      "django.contrib.sessions",
      "django.contrib.messages",
      "django.contrib.staticfiles",
      # 3rd Party Applications
      "corsheaders",
      "rest_framework",
      "rest_framework.authtoken",
      "django_cleanup",
      # Backend Apps
      "officialWebsite.achievement",
      "officialWebsite.contact",
      "officialWebsite.events",
      "officialWebsite.faq",
      "officialWebsite.members",
      "officialWebsite.projects",
      "officialWebsite.sponsor",
      "officialWebsite.team",
      "officialWebsite.resources",
      "officialWebsite.podcast",
  ]
  
  MIDDLEWARE = [
      "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",
      "corsheaders.middleware.CorsMiddleware",
      "django.middleware.common.CommonMiddleware",
  ]
  
  ROOT_URLCONF = "officialWebsite.config.urls"
  
  TEMPLATES = [
      {
          "BACKEND": "django.template.backends.django.DjangoTemplates",
          "DIRS": [TEMPLATE_DIR],
          "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 = "officialWebsite.config.wsgi.application"
  
  
  DATABASES = {
      "default": {
          "ENGINE": "django.db.backends.sqlite3",
          "NAME": os.path.join(BASE_DIR, "db.sqlite3"),
      }
  }
  
  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",
      },
  ]
  
  LANGUAGE_CODE = "en-us"
  
  TIME_ZONE = "Asia/Kolkata"
  
  USE_I18N = True
  
  USE_L10N = True
  
  USE_TZ = False
  
  if DEBUG:
      STATIC_URL = "/static/"
      STATICFILES_DIRS = [os.path.join(BASE_DIR, "static_files")]
      STATIC_ROOT = os.path.join(BASE_DIR, "static_root")
      MEDIA_URL = "/media/"
      MEDIA_ROOT = os.path.join(BASE_DIR, "media")
  else:
      DEFAULT_FILE_STORAGE = "storages.backends.gcloud.GoogleCloudStorage"
      STATICFILES_STORAGE = "storages.backends.gcloud.GoogleCloudStorage"
      GS_BUCKET_NAME = env("GS_BUCKET_NAME")
      STATIC_ROOT = "static/"
      MEDIA_ROOT = "media/"
  
  if not DEBUG:
      EMAIL_BACKEND = "django.core.mail.backends.smtp.EmailBackend"
      EMAIL_HOST = "smtp.gmail.com"
      EMAIL_PORT = 587
      EMAIL_HOST_USER = env("EMAIL_HOST_USER")
      EMAIL_USE_TLS = True
      EMAIL_USE_SSL = False
      EMAIL_HOST_PASSWORD = env("EMAIL_HOST_PASSWORD")
  
  
  CORS_ORIGIN_ALLOW_ALL = True
  