old_contents: import pkg_resources  # part of setuptools
  
  USER_AGENT_NAME = 'bookmarks'
  VERSION_NUMBER = pkg_resources.require('bookmarks')[0].version
  SECRET_KEY = 'development key'
  DATABASE_USERNAME = 'bookmarks'
  DATABASE_PASSWORD = ''
  DATABASE_HOST = 'localhost'
  DATABASE_NAME = 'bookmarks'
  TEST_DATABASE_NAME = 'bookmarks_test'
  
new_contents: import os
  import pkg_resources  # part of setuptools
  
  app_env = os.environ.get('APPLICATION_ENVIRONMENT') or 'development'
  
  USER_AGENT_NAME = 'bookmarks'
  VERSION_NUMBER = pkg_resources.require('bookmarks')[0].version
  SECRET_KEY = 'development key'
  TESTING = False
  TIMEOUT = 5
  
  if app_env == 'development':
      DATABASE_URI = ''
      DEBUG = True
  
  if app_env == 'testing':
      TESTING = True
      TIMEOUT = 1
      WTF_CSRF_ENABLED = False
      DATABASE_URI = ''
  
subject: Update default settings