def formulario_mtto(request): mensaje="Registro realizado:" dataa = request.POST.dict() print(mensaje,type(dataa), dataa) pd.DataFrame.from_dict(dataa.items()).to_excel('registros_mtto_anual.xlsx',index=[0]) pd.DataFrame.from_dict(dataa.items()).to_excel('registros_mtto_mensual.xlsx',index=[0]) pd.DataFrame.from_dict(dataa.items()).to_excel('registros_mtto_historico.xlsx',index=[0]) return render(request,'formulario_mtto.html')
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)