master
Aevann1 2021-10-03 22:59:11 +02:00
parent e4ced2b992
commit 340119ff35
1 changed files with 2 additions and 0 deletions

View File

@ -6,6 +6,7 @@ from flask import *
from flask_caching import Cache from flask_caching import Cache
from flask_limiter import Limiter from flask_limiter import Limiter
from flask_compress import Compress from flask_compress import Compress
from flaskext.markdown import Markdown
from flask_limiter.util import get_ipaddr from flask_limiter.util import get_ipaddr
from flask_mail import Mail from flask_mail import Mail
@ -84,6 +85,7 @@ engine = create_engine(app.config['DATABASE_URL'])
db_session = scoped_session(sessionmaker(bind=engine, autoflush=False)) db_session = scoped_session(sessionmaker(bind=engine, autoflush=False))
cache = Cache(app) cache = Cache(app)
Markdown(app)
Compress(app) Compress(app)
mail = Mail(app) mail = Mail(app)