mirror of
https://github.com/StefBuwalda/ProjectIOT.git
synced 2025-10-29 18:59:57 +00:00
Update views.py
This commit is contained in:
@@ -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"])
|
||||
|
||||
Reference in New Issue
Block a user