From 33e7e57d5f27593b946e9251ecea9df6168b8d68 Mon Sep 17 00:00:00 2001 From: Chidindu Ogbonna Date: Fri, 6 Apr 2018 17:38:40 +0100 Subject: [PATCH] flask.ext.cache deprecated Removed the flask.ext.cache due to constant error message. Make use of "flask_cache" --- 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'