'Get a setting per module'

def get_for_module(module_name, name='', strict=False, **kwargs):

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