diff --git a/application/dashboard/views.py b/application/dashboard/views.py index dc8197f..6ee69f5 100644 --- a/application/dashboard/views.py +++ b/application/dashboard/views.py @@ -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":