forked from MarseyWorld/MarseyWorld
sdffsd
parent
e4ced2b992
commit
340119ff35
|
@ -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)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue