From 2ebfcf29c84b84999b76ff13150ba5a13fd3cac1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marjukka=20J=C3=A4mb=C3=A4ck?= Date: Tue, 21 Nov 2023 11:16:17 +0200 Subject: Make it poetry project and udate install instructions --- app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app.py') diff --git a/app.py b/app.py index f08b7d8..7124bd6 100644 --- a/app.py +++ b/app.py @@ -4,7 +4,7 @@ from db_actions import db app = Flask(__name__, static_url_path='') app.secret_key = getenv("SECRET_KEY") -app.config["SQLALCHEMY_DATABASE_URI"] = "postgresql://postgres@localhost/postgres" +app.config["SQLALCHEMY_DATABASE_URI"] = getenv("SQLALCHEMY_DATABASE_URI") db.init_app(app) import routes -- cgit v1.2.3