summaryrefslogtreecommitdiff
path: root/app.py
diff options
context:
space:
mode:
authorMarjukka Jämbäck <mjamback@local>2023-11-21 11:16:17 +0200
committerMarjukka Jämbäck <mjamback@local>2023-11-21 11:16:17 +0200
commit2ebfcf29c84b84999b76ff13150ba5a13fd3cac1 (patch)
tree12fcf0504e9682b279cbadd724f026d6cba01b6e /app.py
parentd13d4860f3d5b51d659379aa8a38742bfe49bf37 (diff)
Make it poetry project and udate install instructions
Diffstat (limited to 'app.py')
-rw-r--r--app.py2
1 files changed, 1 insertions, 1 deletions
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