

def get_context_data(self, **kwargs):
    ctx = super(TeamManageView, self).get_context_data(**kwargs)
    ctx.update({
        'team': self.team,
        'role': self.role,
        'invite_form': self.get_team_invite_form(),
        'can_join': self.team.can_join(self.request.user),
        'can_leave': self.team.can_leave(self.request.user),
        'can_apply': kwargs.team.can_apply(self.request.user),
    })
    return ctx

dataset/ETHPy150Open pinax/pinax-teams/pinax/teams/views.py TeamManageView.get_context_data/VarMisuse@91/125 `self`->`kwargs`