from flask import Flask
from flask_sqlalchemy import SQLAlchemy
from flask_migrate import Migrate
from flask_login import LoginManager


db = SQLAlchemy()
migrate = Migrate()
login = LoginManager()


def create_app():
    app = Flask(__name__)
    app.config.from_object("config.Config")

    db.init_app(app)
    migrate.init_app(app, db)
    login.init_app(app)

    with app.app_context():
        from . import routes, models, forms

        app.register_blueprint(routes.app)
        app.register_blueprint(forms.form)

        return app
b32a7106734c3e6ffca893c12c2e7b1e1aadeb94
<mask token>

<mask token>


def create_app():
    app = Flask(__name__)
    app.config.from_object('config.Config')
    db.init_app(app)
    migrate.init_app(app, db)
    login.init_app(app)
    with app.app_context():
        from . import routes, models, forms
        app.register_blueprint(routes.app)
        app.register_blueprint(forms.form)
        return app

<mask token>
db = SQLAlchemy()
migrate = Migrate()
login = LoginManager()


def create_app():
    app = Flask(__name__)
    app.config.from_object('config.Config')
    db.init_app(app)
    migrate.init_app(app, db)
    login.init_app(app)
    with app.app_context():
        from . import routes, models, forms
        app.register_blueprint(routes.app)
        app.register_blueprint(forms.form)
        return app

from flask import Flask
from flask_sqlalchemy import SQLAlchemy
from flask_migrate import Migrate
from flask_login import LoginManager
db = SQLAlchemy()
migrate = Migrate()
login = LoginManager()


def create_app():
    app = Flask(__name__)
    app.config.from_object('config.Config')
    db.init_app(app)
    migrate.init_app(app, db)
    login.init_app(app)
    with app.app_context():
        from . import routes, models, forms
        app.register_blueprint(routes.app)
        app.register_blueprint(forms.form)
        return app

from flask import Flask
from flask_sqlalchemy import SQLAlchemy
from flask_migrate import Migrate
from flask_login import LoginManager


db = SQLAlchemy()
migrate = Migrate()
login = LoginManager()


def create_app():
    app = Flask(__name__)
    app.config.from_object("config.Config")

    db.init_app(app)
    migrate.init_app(app, db)
    login.init_app(app)

    with app.app_context():
        from . import routes, models, forms

        app.register_blueprint(routes.app)
        app.register_blueprint(forms.form)

        return app