From 78a10b936af2a8d7271f49347cf78999fdf2f97d Mon Sep 17 00:00:00 2001 From: Marcus Couto Date: Tue, 25 Apr 2017 14:10:47 -0300 Subject: [PATCH] ExtDeprecationWarning: Importing flask.ext.cache is deprecated, use flask_cache instead. - Resolved. --- flask_cache/jinja2ext.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flask_cache/jinja2ext.py b/flask_cache/jinja2ext.py index 73be6ac..6d85fe7 100644 --- a/flask_cache/jinja2ext.py +++ b/flask_cache/jinja2ext.py @@ -30,7 +30,7 @@ from jinja2 import nodes from jinja2.ext import Extension -from flask.ext.cache import make_template_fragment_key +from flask_cache import make_template_fragment_key JINJA_CACHE_ATTR_NAME = '_template_fragment_cache'