Untitled
unknown
python
a year ago
366 B
10
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