Skip to content

Commit

Permalink
menos argumentos para crear vehiculo en modelo
Browse files Browse the repository at this point in the history
  • Loading branch information
logos914 committed Nov 19, 2024
1 parent 9d33f2a commit 470c2d6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions routes/vehiculos.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,7 @@ def cargar_vehiculo():

patente = str(request.form['patente'])

vehiculo = Vehiculo(marca, modelo, patente)

vehiculo = Vehiculo(marca=marca, modelo=modelo, matricula=patente)


#deberia hacer verificaciones, al menos sobre patente repetida
Expand Down

0 comments on commit 470c2d6

Please sign in to comment.