text: from decouple import config, Csv
  import dj_database_url
  
  import os
  import logging
  
  BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
  
  
  SECRET_KEY='rqr_cjv4igscyu8(0ce(=sy=f2)p=f_wn&@0xsp7m$@!kp=d'
  DEBUG=True
  ALLOWED_HOSTS='.localhost','127.0.0.1'
  DATABASE_URL='sqlite:///db.sqlite3'
  EMAIL_BACKEND='django.core.mail.backends.console.EmailBackend'
  
  
  INSTALLED_APPS = [
      'django.contrib.admin',
      'django.contrib.auth',
      'django.contrib.contenttypes',
      'django.contrib.sessions',
      'django.contrib.messages',
      'django.contrib.staticfiles',
      'django.contrib.humanize',
  
      'widget_tweaks',
  
      'project1',
      'boards',
  ]
  
  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',
  ]
  
  ROOT_URLCONF = 'myproject.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 = 'myproject.wsgi.application'
  
  DATABASES = {
      'default': dj_database_url.config(
          default=DATABASE_URL
      )
  }
  
  
  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 = 'UTC'
  
  USE_I18N = True
  
  USE_L10N = True
  
  USE_TZ = True
  
  
  STATIC_URL = '/static/'
  STATIC_ROOT = os.path.join(os.path.dirname(BASE_DIR), 'staticfiles')
  
  STATICFILES_DIRS = [
      os.path.join(BASE_DIR, 'static'),
  ]
  
  LOGIN_URL = 'login'
  LOGIN_REDIRECT_URL = 'home'
  LOGOUT_REDIRECT_URL = 'home'
  
  
  DEFAULT_FROM_EMAIL = 'Django Boards <noreply@djangoboards.com>'
  EMAIL_SUBJECT_PREFIX = '[Django Boards] '
  
  
  SECURE_CONTENT_TYPE_NOSNIFF = True
  SECURE_BROWSER_XSS_FILTER = True
  X_FRAME_OPTIONS = 'DENY'
  
  
  logging.basicConfig(
      level = logging.DEBUG,
      format = '%(asctime)s %(levelname)s %(message)s',
  )
  