code: def web_hooks(self, include_global=True):
          
          from fabric_bolt.web_hooks.models import Hook
          ors = [Q(project=self)]
  
          if include_global:
              ors.append(Q(project=None))
  
          hooks = Hook.objects.filter(reduce(operator.or_, ors))
  
          return hooks
docs: Get all web hooks for this project. Includes global hooks.