text: import os
  
  # 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/2.1/howto/deployment/checklist/
  
  # SECURITY WARNING: keep the secret key used in production secret!
  SECRET_KEY = 'k++ljsenmj!r3wj$_j^ry7fmkr=-lullj$b756%%h9ck1=)3o5'
  
  # SECURITY WARNING: don't run with debug turned on in production!
  DEBUG = True
  
  ALLOWED_HOSTS = ['127.0.0.1','134.209.169.204', 'localhost', '181hub.com', 'www.181hub.com', '169.254.233.117']
  
  # Application definition
  
  INSTALLED_APPS = [
      'crispy_forms',
      'hitcount',
      'profanity',
      'emoji',
      'chat',
      'job',
      'shop',
      'channels',
      # 'notify',
      'rest_framework',
      'taggit',
      'django_user_agents',
      'django_cleanup.apps.CleanupConfig',
      'notifications',
      'allauth',
      'allauth.account',
      'allauth.socialaccount',
      'django.contrib.sites',
      'user.apps.UserConfig',
      'blog.apps.BlogConfig',
      'django.contrib.admin',
      'django.contrib.auth',
      'django.contrib.contenttypes',
      'django.contrib.sessions',
      'django.contrib.messages',
      'django.contrib.staticfiles',
      'allauth.socialaccount.providers.facebook',
      'allauth.socialaccount.providers.google',
  ]
  
  SITE_ID = 2
  
  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',
      'social_django.middleware.SocialAuthExceptionMiddleware',
      'django_user_agents.middleware.UserAgentMiddleware',
  ]
  
  ROOT_URLCONF = 'cory_blog.urls'
  
  AUTH_USER_MODEL = 'auth.User'
  
  TEMPLATES = [
      {
          'BACKEND': 'django.template.backends.django.DjangoTemplates',
          'DIRS': [],
          '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',
                  'social_django.context_processors.backends',
                  'social_django.context_processors.login_redirect',
              ],
          },
      },
  ]
  
  WSGI_APPLICATION = 'cory_blog.wsgi.application'
  ASGI_APPLICATION = 'cory_blog.routing.application'
  
  CHANNEL_LAYERS = {
      'default': {
          'BACKEND': 'channels_redis.core.RedisChannelLayer',
          'CONFIG': {
              "hosts": [("127.0.0.1", 6379)],
          },
      },
  }
  
  # CHANNEL_LAYERS = {
  #     'default': {
  #         'BACKEND': 'channels_redis.core.RedisChannelLayer',
  #         'CONFIG': {
  #             "hosts": [CHANNEL_REDIS_HOST],
  #             "symmetric_encryption_keys": [SECRET_KEY],
  #         },
  #     },
  # }
  
  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'
      ]
  }
  
  # Database
  # https://docs.djangoproject.com/en/2.1/ref/settings/#databases
  
  DATABASES = {
      'default': {
          'ENGINE': 'django.db.backends.sqlite3',
          'NAME': os.path.join(BASE_DIR, 'db.sqlite3'),
      }
  }
  # DATABASES = {
  #    'default': {
  #         'ENGINE': 'django.db.backends.mysql',
  #         'OPTIONS': {
  #         'read_default_file': '/etc/mysql/my.cnf',
  #         },
  #         #'NAME': 'hub_2',
  #         #'USER': 'admin',
  #         #'PASSWORD': 'eljefe/97',
  #         #'HOST': 'localhost',
  #         #'PORT': '',
  #     }
  # }
  
  
  # Password validation
  # https://docs.djangoproject.com/en/2.1/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.1/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.1/howto/static-files/
  
  STATIC_URL = '/static/'
  
  STATICFILES_DIR = (
      os.path.join(BASE_DIR, 'staticfiles'),
  )
  
  STATIC_ROOT = os.path.join(BASE_DIR, 'static')
  
  MEDIA_ROOT = os.path.join(BASE_DIR, 'media')
  
  AUTHENTICATION_BACKENDS = [
  
      'django.contrib.auth.backends.ModelBackend',
      'allauth.account.auth_backends.AuthenticationBackend',
      
  ]
  
  DATA_UPLOAD_MAX_MEMORY_SIZE = 52428800
  
  MEDIA_URL = '/media/'
  
  CRISPY_TEMPLATE_PACK = 'bootstrap4'
  
  LOGIN_REDIRECT_URL = 'blog-home'
  
  LOGIN_URL = 'login'
  
  LOGOUT_URL = 'logout'
  
  EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'
  
  EMAIL_HOST = 'smtp.gmail.com'
  
  # EMAIL_PORT = 465
  EMAIL_PORT = 587
  EMAIL_USE_TLS = True
  
  # EMAIL_USE_SSL = True
  
  EMAIL_HOST_USER = '181hub@gmail.com'
  
  SOCIAL_AUTH_GOOGLE_OAUTH2_KEY = '12077509443-o1bjp988p7dnb5hf6k8sebfoj168gbas.apps.googleusercontent.com'
  
  SOCIAL_AUTH_GOOGLE_OAUTH2_SECRET = 'uWyMaJDFck3qNtXnifTMl9D4'
  
  DJANGO_NOTIFICATIONS_CONFIG = {'USE_JSONFIELD': True}
  
  DJANGO_NOTIFICATIONS_CONFIG = {'SOFT_DELETE': True}
  
  HITCOUNT_KEEP_HIT_ACTIVE = {'seconds': 1}
  
  ACCOUNT_UNIQUE_EMAIL = True
  
  ACCOUNT_EMAIL_REQUIRED=True
  
  ACCOUNT_USERNAME_REQURIED=True
  
  ACCOUNT_EMAIL_VERIFICATION=("optional")
  