'Add a ModuleSetting per module'

def add_for_module(name, value, module_name, **kwargs):

    try:
        module = Module.objects.get(name=module_name)
        return ModuleSetting.add(name=name, value=value, module=module, **kwargs)
    except Exception:
        return None
