Skip to content

Commit

Permalink
added config to get rid of deprecation warning in SQLALCHEMY,
Browse files Browse the repository at this point in the history
  • Loading branch information
Tennyx committed Aug 31, 2021
1 parent 676d6df commit 4fb89e5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ def create_app():
"""
app = Flask(__name__)
app.config["SQLALCHEMY_DATABASE_URI"] = "postgresql://localhost/scim"
app.config['SQLALCHEMY_TRACK_MODIFICATIONS'] = False
db.init_app(app)
return app

Expand Down

0 comments on commit 4fb89e5

Please sign in to comment.