Merge branch 'master' into flask_caching

This commit is contained in:
2018-05-12 16:45:26 -04:00
committed by GitHub
+7
View File
@@ -9,6 +9,13 @@ from gunicorn.app.base import Application
from whitenoise import WhiteNoise
from flask_caching import Cache
try:
from flask.exthook import ExtDeprecationWarning
import warnings
warnings.simplefilter('ignore', ExtDeprecationWarning)
except ImportError:
pass # DeprecationWarning only relevant to Flask<1.0
# Find the stack on which we want to store the database connection.
# Starting with Flask 0.9, the _app_ctx_stack is the correct one,