From f9a48b5b5011e4fc61785818525afeee6136abe7 Mon Sep 17 00:00:00 2001 From: Bkolb Date: Fri, 10 Apr 2026 07:41:49 +0200 Subject: [PATCH] =?UTF-8?q?Men=C3=BC=20angepasst?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/flask-postgres/app/app.py | 6 +++--- app/flask-postgres/app/templates/base.html | 4 ++-- app/flask-postgres/app/templates/preise2.html | 5 +++++ 3 files changed, 10 insertions(+), 5 deletions(-) diff --git a/app/flask-postgres/app/app.py b/app/flask-postgres/app/app.py index 8867246..07e2d37 100644 --- a/app/flask-postgres/app/app.py +++ b/app/flask-postgres/app/app.py @@ -282,7 +282,7 @@ def startup_checks(): ensure_default_admin() -@app.route("/") + @app.route("/home") def home(): return render_template( @@ -293,9 +293,9 @@ def home(): **get_current_user() ) - +@app.route("/") @app.route("/preise") -@login_required +#@login_required def preise(): return render_template( "preise2.html", diff --git a/app/flask-postgres/app/templates/base.html b/app/flask-postgres/app/templates/base.html index 960aaa2..6a30650 100644 --- a/app/flask-postgres/app/templates/base.html +++ b/app/flask-postgres/app/templates/base.html @@ -19,9 +19,9 @@