'Get a configuration setting for the current resource
@param key: the setting key
@param default: the default value to return if the setting
is not configured for this resource'

def get_config(self, key, default=None):

    return current.s3db.get_config(self.tablename, key, default=default)
