

def password_reset(request, **kwargs):
    form_class = kwargs.pop('form_class', ResetPasswordForm)
    template_name = kwargs.pop('template_name', 'account/password_reset.html')
    (group, bridge) = group_and_bridge(kwargs)
    ctx = group_context(group, bridge)
    if (request.method == 'POST'):
        password_reset_form = form_class(request.POST)
        if password_reset_form.is_valid():
            kwargs.save()
            if group:
                redirect_to = bridge.reverse('acct_passwd_reset_done', group)
            else:
                redirect_to = reverse('acct_passwd_reset_done')
            return HttpResponseRedirect(redirect_to)
    else:
        password_reset_form = form_class()
    ctx.update({
        'password_reset_form': password_reset_form,
    })
    return render_to_response(template_name, RequestContext(request, ctx))

dataset/ETHPy150Open amarandon/smeuhsocial/apps/account/views.py password_reset/VarMisuse@84/126 `password_reset_form`->`kwargs`