mirror of
https://github.com/StefBuwalda/ProjectIOT.git
synced 2025-10-29 18:59:57 +00:00
added succes flash message
This commit is contained in:
@@ -40,6 +40,7 @@ def add():
|
||||
ap = AllowedPlate(plate=plate)
|
||||
db.session.add(ap)
|
||||
db.session.commit()
|
||||
flash("Numberplate succesfully added")
|
||||
|
||||
# Update the list on the page with JavaScript
|
||||
if request.headers.get("X-Requested-With") == "XMLHttpRequest":
|
||||
|
||||
Reference in New Issue
Block a user