old_contents: import os
  import tempfile
  import web
  
  production_mode = os.environ.get('PRODUCTION_MODE', False)
  render = web.template.render('templates/', base='base', cache=production_mode)
  render_plain = web.template.render('templates/', cache=production_mode) #without base, useful for sending mails
  db = web.database(dbn=os.environ.get('DATABASE_ENGINE', 'postgres'),
                    db=os.environ.get('WATCHDOG_TABLE', 'watchdog_dev'))
  db.printing = False
  current_session = 111   #'*' to load data from all sessions
  
new_contents: import os
  import tempfile
  import web
  
  production_mode = os.environ.get('PRODUCTION_MODE', False)
  render = web.template.render('templates/', base='base', cache=production_mode)
  render_plain = web.template.render('templates/', cache=production_mode) #without base, useful for sending mails
  db = web.database(dbn=os.environ.get('DATABASE_ENGINE', 'postgres'),
                    db=os.environ.get('WATCHDOG_TABLE', 'watchdog_dev'))
  db.printing = False
  current_session = '*' # * to load data from all sessions; 'xxx' to load data of that session
  
subject: change default to load all instead of current session