def hooks(self, project):
        """ Look up the urls we need to post to"""

        return self.get_queryset().filter(
            Q(project=None) |
            Q(project=project)
        ).distinct('url')
Look up the urls we need to post to