'Set up webhook post view with request and project objects'

def post(self, request, project_slug):

    self.request = request
    self.project = None
    try:
        self.project = self.get_project(slug=project_slug)
    except Project.DoesNotExist:
        raise NotFound('Project    not    found')
    self.data = self.get_data()
    resp = self.handle_webhook()
    if (resp is None):
        log.info('Unhandled    webhook    event')
        resp = {'detail': 'Unhandled    webhook    event'}
    return Response(resp)
