text: import os
  from pathlib import Path
  from datetime import timedelta
  from django.utils.translation import ugettext_lazy as _
  
  # Build paths inside the project like this: os.path.join(BASE_DIR, ...)
  BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
  
  
  # Quick-start development settings - unsuitable for production
  # See https://docs.djangoproject.com/en/3.0/howto/deployment/checklist/
  
  # SECURITY WARNING: keep the secret key used in production secret!
  SECRET_KEY = 'bz@sgxdckq_441i-gr=ms%*7x!+x&pgua37!jfm@&2bi$b4mr5'
  
  # SECURITY WARNING: don't run with debug turned on in production!
  DEBUG = True
  
  ALLOWED_HOSTS = ['*']
  
  
  # Application definition
  
  INSTALLED_APPS = [
      # 'material.admin',
      # 'material.admin.default',
      'django.contrib.admin',
      'django.contrib.auth',
      'django.contrib.contenttypes',
      'django.contrib.sessions',
      'django.contrib.messages',
      'django.contrib.staticfiles',
  ]
  # core apps
  INSTALLED_APPS += [
      'accounts.apps.AccountsConfig',
      'vendors.apps.VendorsConfig',
      'core_marketing.apps.CoreMarketingConfig',
      'core_ecommerce.apps.CoreEcommerceConfig'
  ]
  # 3rd party apps
  INSTALLED_APPS += [
      # 'jet_django',
      'graphene_django',
      'corsheaders',
      'mptt',
      # 'channels',
      'graphql_playground',
      'django_hosts',
  ]
  
  MIDDLEWARE = [
      'django_hosts.middleware.HostsRequestMiddleware',
      'corsheaders.middleware.CorsMiddleware',
      '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',
      'django_hosts.middleware.HostsResponseMiddleware',
  
  ]
  
  ROOT_URLCONF = 'ashewa_final.urls'
  
  ROOT_HOSTCONF = 'ashewa_final.hosts'
  
  DEFAULT_HOST = 'www'
  
  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 = 'ashewa_final.wsgi.application'
  # ASGI_APPLICATION = "ashewa_final.asgi.application"
  
  # Database
  # https://docs.djangoproject.com/en/3.0/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/3.0/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',
      },
  ]
  
  
  CHANNEL_LAYERS = {
      "default": {
          "BACKEND": "channels.layers.InMemoryChannelLayer"
      }
  }
  # CHANNEL_LAYERS = {
  #     "default": {
  #         "BACKEND": "channels_redis.core.RedisChannelLayer",
  #         "CONFIG": {
  #             "hosts": [("127.0.0.1", 6379)],
  #         },
  #     },
  # }
  GRAPHENE = {
      "SCHEMA": "ashewa_final.schema.schema",
      'MIDDLEWARE': [
          'graphql_jwt.middleware.JSONWebTokenMiddleware',
      ],
  }
  
  AUTHENTICATION_BACKENDS = [
      'accounts.backends.EmailBackend',
      'django.contrib.auth.backends.ModelBackend',
      'graphql_jwt.backends.JSONWebTokenBackend',
  ]
  GRAPHQL_JWT = {
      'JWT_VERIFY_EXPIRATION': False,
      'JWT_EXPIRATION_DELTA': timedelta(minutes=600000),
      'JWT_REFRESH_EXPIRATION_DELTA': timedelta(days=700000),
  }
  LOGGING = {
      'version': 1,
      'disable_existing_loggers': False,
      'filters': {
          'require_debug_false': {
              '()': 'django.utils.log.RequireDebugFalse'
          }
      },
  
      'handlers': {
          'mail_admins': {
              'level': 'ERROR',
              'filters': ['require_debug_false'],
              'class': 'django.utils.log.AdminEmailHandler'
          },
          'console': {
              'level': 'DEBUG',
              'class': 'logging.StreamHandler',
          },
      },
      'loggers': {
          'django.request': {
              'handlers': ['mail_admins'],
              'level': 'ERROR',
              'propagate': True,
          },
      }
  }
  MATERIAL_ADMIN_SITE = {
      'HEADER':  _('Ashewa Adminstration'),  # Admin site header
      'TITLE':  _('Ashewa Adminstration'),  # Admin site title
      # Admin site favicon (path to static should be specified)
      'FAVICON':  'path/to/favicon',
      'MAIN_BG_COLOR':  'green',  # Admin site main color, css color should be specified
      # Admin site main hover color, css color should be specified
      'MAIN_HOVER_COLOR':  'green',
      # Admin site profile picture (path to static should be specified)
      'PROFILE_PICTURE':  'path/to/image',
      # Admin site profile background (path to static should be specified)
      'PROFILE_BG':  'path/to/image',
      # Admin site logo on login page (path to static should be specified)
      'LOGIN_LOGO':  'path/to/image',
      # Admin site background on login/logout pages (path to static should be specified)
      'LOGOUT_BG':  'path/to/image',
      'SHOW_THEMES':  True,  # Show default admin themes button
      'TRAY_REVERSE': True,  # Hide object-tools and additional-submit-line by default
      'NAVBAR_REVERSE': True,  # Hide side navbar by default
      'SHOW_COUNTS': True,  # Show instances counts for each model
      'APP_ICONS': {  # Set icons for applications(lowercase), including 3rd party apps, {'application_name': 'material_icon_name', ...}
          'sites': 'send',
      },
      'MODEL_ICONS': {  # Set icons for models(lowercase), including 3rd party models, {'model_name': 'material_icon_name', ...}
          'site': 'contact_mail',
      }
  }
  
  CACHES = {
      'default': {
          'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache',
          'LOCATION': '127.0.0.1:11211',
      }
  }
  CORS_ORIGIN_ALLOW_ALL = True
  
  # Internationalization
  # https://docs.djangoproject.com/en/3.1/topics/i18n/
  AUTH_USER_MODEL = 'accounts.CustomUser'
  
  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/3.1/howto/static-files/
  
  #CORS_ORIGIN_ALLOW_ALL = True
  # STATICFILES_DIRS = [os.path.join(BASE_DIR, 'static')]
  STATIC_URL = '/static/'
  STATIC_ROOT = os.path.join(BASE_DIR, 'static/')
  AUTH_USER_MODEL = 'accounts.CustomUser'
  #STATIC_URL = '/static/'
  MEDIA_URL = '/media/'
  MEDIA_ROOT = os.path.join(BASE_DIR, 'media')
  SESSION_ENGINE = 'django.contrib.sessions.backends.cache'
  
  EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'
  EMAIL_HOST = 'smtp.gmail.com'
  EMAIL_USE_TLS = True
  EMAIL_PORT = 587
  EMAIL_HOST_USER = 'bdere12345@gmail.com'
  EMAIL_HOST_PASSWORD = '#Hallelujah22'
  