Skip to content

Commit

Permalink
change requirement to flask-caching which uses the new Flask extensio…
Browse files Browse the repository at this point in the history
…n import style
  • Loading branch information
raoulsullivan committed Sep 11, 2018
1 parent 036d070 commit e7e5838
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Requirements.txt
Expand Up @@ -2,7 +2,7 @@ Flask
Flask-WTF>=0.14.0
Flask-Login
Flask-Principal
Flask-Cache
flask-caching
Flask-FileUpload
SQLAlchemy>=0.9.1
Markdown
Expand Down
2 changes: 1 addition & 1 deletion docs/index.rst
Expand Up @@ -186,7 +186,7 @@ As of version 0.4.0, Flask-Cache integration is supported. In order
to use caching in the blogging engine, you need to pass the ``Cache``
instance to the ``BloggingEngine`` as::

from flask_cache import Cache
from flask_caching import Cache
from flask_blogging import BloggingEngine

blogging_engine = BloggingEngine(app, storage, cache)
Expand Down
2 changes: 1 addition & 1 deletion example/blog_cache.py
Expand Up @@ -7,7 +7,7 @@
from flask_blogging import SQLAStorage, BloggingEngine
from flask_principal import identity_changed, Identity, AnonymousIdentity, identity_loaded, \
UserNeed, RoleNeed
from flask_cache import Cache
from flask_caching import Cache


app = Flask(__name__)
Expand Down
2 changes: 1 addition & 1 deletion test/test_views.py
Expand Up @@ -14,7 +14,7 @@
import re
from flask_principal import identity_changed, Identity, Permission,\
AnonymousIdentity, identity_loaded, RoleNeed, UserNeed
from flask_cache import Cache
from flask_caching import Cache
from .utils import get_random_unicode
try:
import boto3
Expand Down

0 comments on commit e7e5838

Please sign in to comment.