Get config value for given model

def get_model_config_value(self, obj, name):
        """Get config value for given model"""
        config = models_config.get_config(obj)
        return getattr(config, name)