code: def config(name='DATABASE_URL', default='sqlite://:memory:'):
      
      config = {}
      s = env(name, default)
      if s:
          config = parse_database_url(s)
      return config
docs: Returns configured DATABASE dictionary from DATABASE_URL.