old_contents: import os
  basedir = os.path.abspath(os.path.dirname(__file__))
  
  # forms wtf config
  WTF_CSRF_ENABLED = True
  SECRET_KEY = 'impossible-to-guess'
  
  # sqlalchemy database config
  SQLALCHEMY_DATABASE_URI = 'sqlite:///' + os.path.join(basedir, 'app.db')
  SQLALCHEMY_MIGRATE_REPO = os.path.join(basedir, 'db_repository')
  SQLALCHEMY_TRACK_MODIFICATIONS = False
  
  # oauth google config
  OAUTH_CREDENTIALS = {
          'google': {
              'id': os.environ.get('WEIGHT_CONTROL_OAUTH_GOOGLE_ID'),
              'secret': os.environ.get('WEIGHT_CONTROL_OAUTH_GOOGLE_SECRET')
          },
          'facebook': {
              'id': os.environ.get('WEIGHT_CONTROL_OAUTH_FACEBOOK_ID'),
              'secret': os.environ.get('WEIGHT_CONTROL_OAUTH_FACEBOOK_SECRET')
          }
  }
  
  # measurements
  MEASUREMENTS = [
          (1, 'Weight'),
          (2, 'BMI'),
          (3, 'Fat'),
          (4, 'Muscle'),
          (5, 'Viceral Fat'),
          (6, 'Basal Metabolic Rate'),
          (7, 'Body Age')
  ]
  
new_contents: import os
  basedir = os.path.abspath(os.path.dirname(__file__))
  
  # forms wtf config
  WTF_CSRF_ENABLED = True
  SECRET_KEY = 'impossible-to-guess'
  
  # sqlalchemy database config
  SQLALCHEMY_DATABASE_URI = os.environ.get('WCONTROL_DB',
                                           'sqlite:///wcontrol/db/app.db')
  SQLALCHEMY_MIGRATE_REPO = os.path.join(basedir, 'db_repository')
  SQLALCHEMY_TRACK_MODIFICATIONS = False
  
  # oauth google config
  OAUTH_CREDENTIALS = {
          'google': {
              'id': os.environ.get('WEIGHT_CONTROL_OAUTH_GOOGLE_ID'),
              'secret': os.environ.get('WEIGHT_CONTROL_OAUTH_GOOGLE_SECRET')
          },
          'facebook': {
              'id': os.environ.get('WEIGHT_CONTROL_OAUTH_FACEBOOK_ID'),
              'secret': os.environ.get('WEIGHT_CONTROL_OAUTH_FACEBOOK_SECRET')
          }
  }
  
  # measurements
  MEASUREMENTS = [
          (1, 'Weight'),
          (2, 'BMI'),
          (3, 'Fat'),
          (4, 'Muscle'),
          (5, 'Viceral Fat'),
          (6, 'Basal Metabolic Rate'),
          (7, 'Body Age')
  ]
  
subject: Use a env var to get DB path