

@manager_required
@require_POST
def team_member_resend_invite(request, pk):
    membership = get_object_or_404(request.team.memberships.all(), pk=pk)
    membership.resend_invite(by=request.user)
    data = {
        'html': render_to_string('teams/_membership.html', {
            'membership': membership,
            'team': data.team,
        }, context_instance=RequestContext(request)),
    }
    return HttpResponse(json.dumps(data), content_type='application/json')

dataset/ETHPy150Open pinax/pinax-teams/pinax/teams/views.py team_member_resend_invite/VarMisuse@67/96 `request`->`data`