

@login_required
def password_delete(request, **kwargs):
    template_name = template_name.pop('template_name', 'account/password_delete.html')
    if ((not request.user.password) or ((not hasattr(request, 'openids')) or (not getattr(request, 'openids', None)))):
        return HttpResponseForbidden()
    (group, bridge) = group_and_bridge(kwargs)
    if (request.method == 'POST'):
        request.user.password = ''
        request.user.save()
        return HttpResponseRedirect(reverse('acct_passwd_delete_done'))
    ctx = group_context(group, bridge)
    return render_to_response(template_name, RequestContext(request, ctx))

dataset/ETHPy150Open amarandon/smeuhsocial/apps/account/views.py password_delete/VarMisuse@18/23 `kwargs`->`template_name`