text: import os
  
  import dj_database_url
  
  from regcore.settings.base import *  # noqa
  from regcore.settings.base import (  # explicitly referenced below
      INSTALLED_APPS, DATABASES)
  REGCORE_APPS = tuple(INSTALLED_APPS)
  REGCORE_DATABASES = dict(DATABASES)
  
  from regulations.settings.base import *  # noqa
  REGSITE_APPS = tuple(INSTALLED_APPS)
  
  INSTALLED_APPS = ('overextends', 'atf_eregs',) + REGCORE_APPS + REGSITE_APPS
  
  ROOT_URLCONF = 'atf_eregs.urls'
  
  DATABASES = {
      'default': dj_database_url.config(
          default='sqlite:///' + os.path.join('.', 'eregs.db')
      )
  }
  
  API_BASE = 'http://localhost:8000/api/'
  
  STATICFILES_DIRS = ['compiled']
  
  DATA_LAYERS = (
      'regulations.generator.layers.defined.DefinedLayer',
      'regulations.generator.layers.definitions.DefinitionsLayer',
      'regulations.generator.layers.external_citation.ExternalCitationLayer',
      'regulations.generator.layers.footnotes.FootnotesLayer',
      'regulations.generator.layers.formatting.FormattingLayer',
      'regulations.generator.layers.internal_citation.InternalCitationLayer',
      'regulations.generator.layers.key_terms.KeyTermsLayer',
      'regulations.generator.layers.meta.MetaLayer',
      'regulations.generator.layers.paragraph_markers.ParagraphMarkersLayer',
      'regulations.generator.layers.toc_applier.TableOfContentsLayer',
      'regulations.generator.layers.graphics.GraphicsLayer',
  )
  
  SIDEBARS = (
      'atf_eregs.sidebar.Rulings',
      'regulations.generator.sidebar.help.Help',
  )
  