diff options
author | Marjukka Jämbäck <mjamback@local> | 2023-11-21 11:16:17 +0200 |
---|---|---|
committer | Marjukka Jämbäck <mjamback@local> | 2023-11-21 11:16:17 +0200 |
commit | 2ebfcf29c84b84999b76ff13150ba5a13fd3cac1 (patch) | |
tree | 12fcf0504e9682b279cbadd724f026d6cba01b6e /app.py | |
parent | d13d4860f3d5b51d659379aa8a38742bfe49bf37 (diff) |
Make it poetry project and udate install instructions
Diffstat (limited to 'app.py')
-rw-r--r-- | app.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |