text: import os
  from django.contrib.messages import constants as messages
  
  
  SITE_ROOT = os.path.join(os.path.realpath(os.path.dirname(__file__)), '../../')
  
  ADMINS = (
      ('Jenso', 'jenso1988@gmail.com'),
  )
  
  # Changes the naming on the front-end of the website.
  SITE_NAME = 'Lookify'
  
  # Set to False to disable people from creating new accounts.
  ALLOW_NEW_REGISTRATIONS = False
  
  # Set to False to force users to login before seeing any pins. 
  PUBLIC = True
  
  
  TIME_ZONE = 'America/New_York'
  LANGUAGE_CODE = 'en-us'
  USE_I18N = True
  USE_L10N = True
  USE_TZ = True
  
  MEDIA_ROOT = os.path.join(SITE_ROOT, 'media/')
  MEDIA_URL = '/media/'
  STATIC_ROOT = os.path.join(SITE_ROOT, 'static/')
  STATIC_URL = '/static/'
  
  
  STATICFILES_FINDERS = (
      'django.contrib.staticfiles.finders.FileSystemFinder',
      'django.contrib.staticfiles.finders.AppDirectoriesFinder',
      'compressor.finders.CompressorFinder',
  )
  TEMPLATE_LOADERS = (
      'django.template.loaders.filesystem.Loader',
      'django.template.loaders.app_directories.Loader',
  )
  MIDDLEWARE_CLASSES = (
      'django.middleware.common.CommonMiddleware',
      'django.contrib.sessions.middleware.SessionMiddleware',
      'django.contrib.auth.middleware.AuthenticationMiddleware',
      'django.contrib.messages.middleware.MessageMiddleware',
      'django.middleware.csrf.CsrfViewMiddleware',
      'pinry.core.middleware.Public',
  )
  TEMPLATE_CONTEXT_PROCESSORS = (
      "django.contrib.auth.context_processors.auth",
      "django.core.context_processors.debug",
      "django.core.context_processors.i18n",
      "django.core.context_processors.media",
      "django.core.context_processors.static",
      "django.core.context_processors.request",
      "django.contrib.messages.context_processors.messages",
      "pinry.core.context_processors.template_settings",
      'pinry.index.context_processors.django_settings',
  )
  
  COMPRESS_CSS_FILTERS = ['compressor.filters.cssmin.CSSMinFilter']
  ROOT_URLCONF = 'pinry.urls'
  LOGIN_REDIRECT_URL = '/'
  INTERNAL_IPS = ['127.0.0.1']
  MESSAGE_TAGS = {
      messages.WARNING: 'alert',
      messages.ERROR: 'alert alert-error',
      messages.SUCCESS: 'alert alert-success',
      messages.INFO: 'alert alert-info',
  }
  API_LIMIT_PER_PAGE = 20
  
  INSTALLED_APPS = (
      'django.contrib.auth',
      'django.contrib.contenttypes',
      'django.contrib.sessions',
      'django.contrib.messages',
      'django.contrib.staticfiles',
      'south',
      'compressor',
      'pinry.vendor',
      'pinry.core',
      'pinry.pins',
      'pinry.api',
      'pinry.loadimages',
      'django_extensions',
      'storages',
      'pinry.index',
      'django.contrib.admin',
      'gunicorn',
  )
  
  AWS_ACCESS_KEY_ID = 'AKIAJHCGEY6XAXXOSYXA'
  AWS_SECRET_ACCESS_KEY = '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'
  GOOGLE_ANALYTICS_KEY = ''
  
  
  LOG_DIR = os.path.join(SITE_ROOT, 'log')
  
  BASE_LOGGING = {
      'version': 1,
      'disable_existing_loggers': False,
      'root': {
          'level': 'WARNING',
          'handlers': ['console', 'file_warning'],
      },
      'formatters': {
          'verbose': {
              'format': '%(levelname)s %(asctime)s %(module)s '
                        '%(process)d %(thread)d %(message)s'
          },
      },
      'handlers': {
          'file_debug': {
              'level': 'DEBUG',
              'class': 'logging.FileHandler',
              'filename': '%s/debug.log' % LOG_DIR,
              'formatter': 'verbose',
          },
          'file_warning': {
              'level': 'WARNING',
              'class': 'logging.FileHandler',
              'filename': '%s/warning.log' % LOG_DIR,
              'formatter': 'verbose',
          },
          'console': {
              'level': 'DEBUG',
              'class': 'logging.StreamHandler',
              'formatter': 'verbose'
          },
      },
      'loggers': {
          'django': {
              'level': 'DEBUG',
              'handlers': ['file_debug'],
              'propagate': True,
          },
          'django.db.backends': {
              'level': 'ERROR',
              'handlers': ['console', 'file_debug'],
              'propagate': True,
          },
          'raven': {
              'level': 'DEBUG',
              'handlers': ['file_debug'],
              'propagate': True,
          },
          'sentry.errors': {
              'level': 'DEBUG',
              'handlers': ['file_debug'],
              'propagate': True,
          },
      },
  }
  
  SENTRY_LOGGING = {
      'version': 1,
      'disable_existing_loggers': True,
      'root': {
          'level': 'WARNING',
          'handlers': ['sentry'],
      },
      'formatters': {
          'verbose': {
              'format': '%(levelname)s %(asctime)s %(module)s '
                        '%(process)d %(thread)d %(message)s'
          },
      },
      'handlers': {
          'sentry': {
              'level': 'ERROR',
              'class': 'raven.contrib.django.handlers.SentryHandler',
          },
          'console': {
              'level': 'DEBUG',
              'class': 'logging.StreamHandler',
              'formatter': 'verbose'
          },
      },
      'loggers': {
          'django.db.backends': {
              'level': 'ERROR',
              'handlers': ['console'],
              'propagate': False,
          },
          'raven': {
              'level': 'DEBUG',
              'handlers': ['console'],
              'propagate': False,
          },
          'sentry.errors': {
              'level': 'DEBUG',
              'handlers': ['console'],
              'propagate': False,
          },
      },
  }
  