old_contents: """
  Extra Development settings
  
  Will override any default settings if a 'development_mode' file exists.
  """
  from default_settings import *
  
  DEBUG = True
  TEMPLATE_DEBUG = True
  
  DATABASES = {
      'default': {
          'ENGINE': 'django.db.backends.sqlite3', # Add 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'.
          'NAME': 'uqam.db',                      # Or path to database file if using sqlite3.
          'USER': '',                      # Not used with sqlite3.
          'PASSWORD': '',                  # Not used with sqlite3.
          'HOST': '',                      # Set to empty string for localhost. Not used with sqlite3.
          'PORT': '',                      # Set to empty string for default. Not used with sqlite3.
      }
  }
  
  MIDDLEWARE_CLASSES += ('debug_toolbar.middleware.DebugToolbarMiddleware',)
  
  INSTALLED_APPS += ('debug_toolbar',)
  
  
  # Debug Toolbar configuration
  INTERNAL_IPS = ('127.0.0.1','10.0.2.2')
  DEBUG_TOOLBAR_PANELS = (
      'debug_toolbar.panels.version.VersionDebugPanel',
      'debug_toolbar.panels.timer.TimerDebugPanel',
      'debug_toolbar.panels.settings_vars.SettingsVarsDebugPanel',
      'debug_toolbar.panels.headers.HeaderDebugPanel',
      'debug_toolbar.panels.request_vars.RequestVarsDebugPanel',
      'debug_toolbar.panels.template.TemplateDebugPanel',
      'debug_toolbar.panels.sql.SQLDebugPanel',
      'debug_toolbar.panels.signals.SignalDebugPanel',
      'debug_toolbar.panels.logger.LoggingPanel',
  )
  DEBUG_TOOLBAR_CONFIG = {
      'INTERCEPT_REDIRECTS': False
  }
  
  MEDIA_ROOT = os.path.join(DIRNAME, 'media')
  
new_contents: """
  Extra Development settings
  
  Will override any default settings if a 'development_mode' file exists.
  """
  from default_settings import *
  
  DEBUG = True
  TEMPLATE_DEBUG = True
  
  DATABASES = {
      'default': {
          'ENGINE': 'django.db.backends.sqlite3', # Add 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'.
          'NAME': 'uqam.db',                      # Or path to database file if using sqlite3.
          'USER': '',                      # Not used with sqlite3.
          'PASSWORD': '',                  # Not used with sqlite3.
          'HOST': '',                      # Set to empty string for localhost. Not used with sqlite3.
          'PORT': '',                      # Set to empty string for default. Not used with sqlite3.
      }
  }
  
  MIDDLEWARE_CLASSES += ('debug_toolbar.middleware.DebugToolbarMiddleware',)
  
  INSTALLED_APPS += ('debug_toolbar',)
  
  
  # Debug Toolbar configuration
  INTERNAL_IPS = ('127.0.0.1','10.0.2.2')
  DEBUG_TOOLBAR_PANELS = (
      'debug_toolbar.panels.version.VersionDebugPanel',
      'debug_toolbar.panels.timer.TimerDebugPanel',
      'debug_toolbar.panels.settings_vars.SettingsVarsDebugPanel',
      'debug_toolbar.panels.headers.HeaderDebugPanel',
      'debug_toolbar.panels.request_vars.RequestVarsDebugPanel',
      'debug_toolbar.panels.template.TemplateDebugPanel',
      'debug_toolbar.panels.sql.SQLDebugPanel',
      'debug_toolbar.panels.signals.SignalDebugPanel',
      'debug_toolbar.panels.logger.LoggingPanel',
  )
  DEBUG_TOOLBAR_CONFIG = {
      'INTERCEPT_REDIRECTS': False
  }
  
  MEDIA_ROOT = os.path.join(DIRNAME, 'media')
  
  HAYSTACK_WHOOSH_PATH = '/home/omad/whoosh/cat_index'
  
subject: Fix search in local dev