old_contents: # noinspection PyUnresolvedReferences
  from common import *
  
  DEBUG = True
  TEMPLATE_DEBUG = DEBUG
  
new_contents: # noinspection PyUnresolvedReferences
  from common import *
  
  DEBUG = True
  TEMPLATE_DEBUG = DEBUG
  
  MIDDLEWARE_CLASSES = MIDDLEWARE_CLASSES + (
      'debug_toolbar.middleware.DebugToolbarMiddleware',
  )
  
  INSTALLED_APPS = INSTALLED_APPS + (
      'debug_toolbar',
  )
  
  ## Debug Toolbar
  
  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',
  )
  
  INTERNAL_IPS = ('127.0.0.1',)
  
  DEBUG_TOOLBAR_CONFIG = {
      'INTERCEPT_REDIRECTS': False,
      # 'SHOW_TOOLBAR_CALLBACK': custom_show_toolbar,
      # 'EXTRA_SIGNALS': ['myproject.signals.MySignal'],
      'HIDE_DJANGO_SQL': False,
      'TAG': 'body', # default: body
      'ENABLE_STACKTRACES': True,
  }
  
  #- Debug Toolbar
subject: configure debug toolbar