'Look in resolver-specific settings for option and then fallback to
global settings.'

def _get_config_option(self, key, default=None, config_prefix=None, **kwds):

    global_key = ('%s_%s' % (config_prefix, key))
    if (key in kwds):
        return kwds.get(key)
    elif (self.app_info and hasattr(self.app_info, global_key)):
        return getattr(self.app_info, global_key)
    else:
        return default
