Update views.py

This commit is contained in:
Anh-Thy04
2025-06-19 21:27:56 +02:00
parent 5173b337d0
commit 470a74388f

View File

@@ -24,17 +24,10 @@ def dashboard():
.limit(50)
.all()
)
<<<<<<< Updated upstream
form = npForm()
return render_template(
"dashboard.html", plates=Plates, logs=logs, form=form
)
=======
form = npForm()
#LogID = LoggedItem.query.all()
id = LoggedItem.id
return render_template("dashboard.html", plates=Plates, logs=logs, form=form, id=id)
>>>>>>> Stashed changes
@dash_blueprint.route("/add", methods=["GET", "POST"])