added succes flash message

This commit is contained in:
DaanoGames
2025-06-03 11:21:18 +02:00
parent f00e87fbe8
commit 75b19f2e1b

View File

@@ -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":