sdffsd
This commit is contained in:
parent
a1c69e3fcf
commit
e28c59ba4a
1 changed files with 2 additions and 0 deletions
|
@ -6,6 +6,7 @@ from flask import *
|
|||
from flask_caching import Cache
|
||||
from flask_limiter import Limiter
|
||||
from flask_compress import Compress
|
||||
from flaskext.markdown import Markdown
|
||||
from flask_limiter.util import get_ipaddr
|
||||
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))
|
||||
|
||||
cache = Cache(app)
|
||||
Markdown(app)
|
||||
Compress(app)
|
||||
mail = Mail(app)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue