Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def salvar_pedido(request):
- pedido = request.body
- validar_pedido(pedido)
- pedido.total = calcular_total(pedido)
- persistir_pedido(pedido)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement