remove celery for now

This commit is contained in:
Kfir Dayan 2024-01-07 11:24:22 +02:00
parent 64c5a24817
commit 6ac29ca2c3

2
app.py
View file

@ -3,13 +3,11 @@ from models import db
from flask_migrate import Migrate from flask_migrate import Migrate
from routes import api from routes import api
import config import config
from celery_utils import make_celery
app = Flask(__name__) app = Flask(__name__)
app.config.from_object(config.Config) app.config.from_object(config.Config)
db.init_app(app) db.init_app(app)
migrate = Migrate(app, db) migrate = Migrate(app, db)
celery = make_celery(app)
app.register_blueprint(api) app.register_blueprint(api)
if __name__ == '__main__': if __name__ == '__main__':