def register_extensions(app): db.init_app(app) moment.init_app(app) ckeditor.init_app(app) mail.init_app(app) bootstrap.init_app(app) login_manager.init_app(app) csrf.init_app(app)
def register_extensions(app): bootstrap.init_app(app) db.init_app(app) ckeditor.init_app(app) moment.init_app(app) mail.init_app(app) migrate.init_app(app, db) login_manager.init_app(app) csrf.init_app(app)
def register_extensions(app): bootstrap.init_app(app) db.init_app(app) login_manager.init_app(app) csrf.init_app(app) csrf.exempt(upload_bp) ckeditor.init_app(app) mail.init_app(app) moment.init_app(app) # toolbar.init_app(app) migrate.init_app(app, db)