Skip to content

Commit

Permalink
added dogpile caching
Browse files Browse the repository at this point in the history
  • Loading branch information
shreyas-satish committed Feb 17, 2017
1 parent f02ee66 commit a907f0d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions baseframe/__init__.py
Expand Up @@ -7,6 +7,7 @@
from flask.ext.wtf import CSRFProtect
from flask.ext.assets import Environment, Bundle
from flask.ext.cache import Cache
from flask.ext.dogpile_cache import DogpileCache
from flask.ext.babelex import Babel, Domain

try:
Expand All @@ -27,6 +28,7 @@
networkbar_cache = Cache(with_jinja2_ext=False)
asset_cache = Cache(with_jinja2_ext=False)
cache = Cache()
dogpile_cache = DogpileCache()
babel = Babel()
csrf = CSRFProtect()
if DebugToolbarExtension is not None:
Expand Down
2 changes: 2 additions & 0 deletions setup.py
Expand Up @@ -37,6 +37,8 @@
'pyOpenSSL',
'ndg-httpsclient',
'pyasn1',
'dogpile.cache',
'Flask-Dogpile-Cache'
]


Expand Down

0 comments on commit a907f0d

Please sign in to comment.