From 33c65f21b6e8926b9871667a8bbae16cb34457cb Mon Sep 17 00:00:00 2001 From: AIIrondev Date: Mon, 3 Aug 2026 23:55:30 +0200 Subject: [PATCH] fix of the json upload format --- Web/app.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/Web/app.py b/Web/app.py index 471f71f..8041ed2 100755 --- a/Web/app.py +++ b/Web/app.py @@ -11863,12 +11863,7 @@ def batch_upload_page(): return render_template('upload_batch.html') -from flask_wtf.csrf import CSRFProtect -csrf = CSRFProtect(app) - - @app.route('/upload_csv_batch', methods=['POST']) -@csrf.exempt def upload_csv_batch(): """ Route for batch adding new items to the inventory via CSV.