def dispatch(self, request, *args, **kwargs):
    kwargs['activity'] = self
    return self.view(request, *args, **kwargs)
def dispatch(self, request, *args, **kwargs):
    kwargs['activity'] = self
    return self.view(request, *args, **kwargs)