parameters: (key, default=None)
return_statement: return default
docstring: Lookup a config field and return its value, first checking the
              route.config, then route.app.config.
docstring_summary: Lookup a config field and return its value, first checking the
              route.config, then route.app.config.
docstring_tokens: Lookup a config field and return its value first checking the route . config then route . app . config .
function: def get_config(key, default=None):
          ''' Lookup a config field and return its value, first checking the
              route.config, then route.app.config.'''
          for conf in (self.config, self.app.conifg):
              if key in conf: return conf[key]
          return default
function_tokens: def get_config ( key , default = None ) : for conf in ( self . config , self . app . conifg ) : if key in conf : return conf [ key ] return default