Untitled

 avatar
unknown
python
10 months ago
366 B
4
Indexable
def investimento_registrado(request):
    if request.method == 'POST':
        tipo_investimento = request.POST.get('TipoInvestimento')
        investimento = {'tipo_investimento': tipo_investimento}
        return render(request, 'investimentos/investimento_registrado.html', investimento)
    else:
        return HttpResponse("Método não permitido", status=405)
Editor is loading...
Leave a Comment