

@method_decorator(manager_required)
def dispatch(self, *args, **kwargs):
    self.team = self.request.team
    return super(TeamInviteView, self).dispatch(*args, **kwargs)

dataset/ETHPy150Open pinax/pinax-teams/pinax/teams/views.py TeamInviteView.dispatch/original