code: def hooks(self, project):
          
  
          return self.get_queryset().filter(
              Q(project=None) |
              Q(project=project)
          ).distinct('url')
docs: Look up the urls we need to post to