old_contents: """A basic database set-up for Travis CI.
  The set-up uses the 'TRAVIS' (== True) environment variable on Travis
  to detect the session, and changes the default database accordingly.
  Be mindful of where you place this code, as you may accidentally
  assign the default database to another configuration later in your code.
  """
  from base import *
  
  if 'TRAVIS' in os.environ:
      DATABASES = {
          'default': {
              'ENGINE':   'django.db.backends.postgresql_psycopg2',
              'NAME':     'readbin',
              'USER':     'postgres',
              'PASSWORD': '',
              'HOST':     'localhost',
              'PORT':     '',
          }
      }
  
  
new_contents: """A basic database set-up for Travis CI.
  The set-up uses the 'TRAVIS' (== True) environment variable on Travis
  to detect the session, and changes the default database accordingly.
  Be mindful of where you place this code, as you may accidentally
  assign the default database to another configuration later in your code.
  """
  from base import *
  
  if 'TRAVIS' in os.environ:
      DATABASES = {
          'default': {
              'ENGINE':   'django.db.backends.postgresql_psycopg2',
              'NAME':     'readbin',
              'USER':     'postgres',
              'PASSWORD': '',
              'HOST':     'localhost',
              'PORT':     '',
          }
      }
  
      SECRET_KEY = 'TEST_SECRET_KEY'
  
  
subject: Add SECRET_KEY for tests