diff options
-rw-r--r-- | newspipe/bootstrap.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/newspipe/bootstrap.py b/newspipe/bootstrap.py index e54aad7a..dc233f09 100644 --- a/newspipe/bootstrap.py +++ b/newspipe/bootstrap.py @@ -8,6 +8,7 @@ import logging import os from flask import Flask, request +from flask_migrate import Migrate from flask_talisman import Talisman from flask_babel import Babel, format_datetime from flask_sqlalchemy import SQLAlchemy @@ -66,6 +67,8 @@ set_logging(application.config["LOG_PATH"]) db = SQLAlchemy(application) +migrate = Migrate(application, db) + talisman = Talisman(application, content_security_policy=application.config["CONTENT_SECURITY_POLICY"]) babel = Babel(application) |