old_contents: # -*- coding: utf-8 -*-
  """Application configuration."""
  import os
  
  
  class Config(object):
      """Base configuration."""
  
      SECRET_KEY = os.environ.get('TASKMANAGER_SECRET', 'RpsV}4@555m.NnPpJlmWybwOB(9uJR')  # TODO: Change me
      APP_DIR = os.path.abspath(os.path.dirname(__file__))  # This directory
      PROJECT_ROOT = os.path.abspath(os.path.join(APP_DIR, os.pardir))
      BCRYPT_LOG_ROUNDS = 13
      ASSETS_DEBUG = False
      DEBUG_TB_ENABLED = False  # Disable Debug toolbar
      DEBUG_TB_INTERCEPT_REDIRECTS = False
      CACHE_TYPE = 'simple'  # Can be "memcached", "redis", etc.
      SQLALCHEMY_TRACK_MODIFICATIONS = False
  
  
  class ProdConfig(Config):
      """Production configuration."""
  
      ENV = 'prod'
      DEBUG = False
      SQLALCHEMY_DATABASE_URI = 'postgresql://$OPENSHIFT_POSTGRESQL_DB_HOST:$OPENSHIFT_POSTGRESQL_DB_PORT'
      DEBUG_TB_ENABLED = False  # Disable Debug toolbar
  
  
  class DevConfig(Config):
      """Development configuration."""
  
      ENV = 'dev'
      DEBUG = True
      DB_NAME = 'dev.db'
      # Put the db file in project root
      DB_PATH = os.path.join(Config.PROJECT_ROOT, DB_NAME)
      SQLALCHEMY_DATABASE_URI = 'postgresql://localhost/summer_scholars'
      DEBUG_TB_ENABLED = True
      ASSETS_DEBUG = True  # Don't bundle/minify static assets
      CACHE_TYPE = 'simple'  # Can be "memcached", "redis", etc.
  
  
  class TestConfig(Config):
      """Test configuration."""
  
      TESTING = True
      DEBUG = True
      SQLALCHEMY_DATABASE_URI = 'sqlite://'
      BCRYPT_LOG_ROUNDS = 4  # For faster tests; needs at least 4 to avoid "ValueError: Invalid rounds"
      WTF_CSRF_ENABLED = False  # Allows form testing
  
new_contents: # -*- coding: utf-8 -*-
  """Application configuration."""
  import os
  
  
  class Config(object):
      """Base configuration."""
  
      SECRET_KEY = os.environ.get('TASKMANAGER_SECRET', 'RpsV}4@555m.NnPpJlmWybwOB(9uJR')  # TODO: Change me
      APP_DIR = os.path.abspath(os.path.dirname(__file__))  # This directory
      PROJECT_ROOT = os.path.abspath(os.path.join(APP_DIR, os.pardir))
      BCRYPT_LOG_ROUNDS = 13
      ASSETS_DEBUG = False
      DEBUG_TB_ENABLED = False  # Disable Debug toolbar
      DEBUG_TB_INTERCEPT_REDIRECTS = False
      CACHE_TYPE = 'simple'  # Can be "memcached", "redis", etc.
      SQLALCHEMY_TRACK_MODIFICATIONS = False
  
  
  class ProdConfig(Config):
      """Production configuration."""
  
      ENV = 'prod'
      DEBUG = False
      SQLALCHEMY_DATABASE_URI = 'postgresql://localhost/summer_scholars'
      DEBUG_TB_ENABLED = False  # Disable Debug toolbar
  
  
  class DevConfig(Config):
      """Development configuration."""
  
      ENV = 'dev'
      DEBUG = True
      DB_NAME = 'dev.db'
      # Put the db file in project root
      DB_PATH = os.path.join(Config.PROJECT_ROOT, DB_NAME)
      SQLALCHEMY_DATABASE_URI = 'postgresql://localhost/summer_scholars'
      DEBUG_TB_ENABLED = True
      ASSETS_DEBUG = True  # Don't bundle/minify static assets
      CACHE_TYPE = 'simple'  # Can be "memcached", "redis", etc.
  
  
  class TestConfig(Config):
      """Test configuration."""
  
      TESTING = True
      DEBUG = True
      SQLALCHEMY_DATABASE_URI = 'sqlite://'
      BCRYPT_LOG_ROUNDS = 4  # For faster tests; needs at least 4 to avoid "ValueError: Invalid rounds"
      WTF_CSRF_ENABLED = False  # Allows form testing
  
subject: Update settings.py