Skip to content
Browse files

@beaker_cache was not available inside the deacorators module while i…

…t should have been
  • Loading branch information...
1 parent ed3616d commit f649b341083f7ac58f2d288e79d8ed92d48b8196 @amol- amol- committed Oct 2, 2012
Showing with 3 additions and 1 deletion.
  1. +1 −1 tg/__init__.py
  2. +2 −0 tg/decorators.py
View
2 tg/__init__.py
@@ -59,7 +59,7 @@
from tg.configuration import config
from tg.release import version
from tg.decorators import (validate, expose, override_template, use_custom_format,
- require, allow_only, with_engine)
+ require, allow_only, with_engine, beaker_cache)
from tg.flash import flash, get_flash, get_status
from tg.jsonify import encode as json_encode
View
2 tg/decorators.py
@@ -26,6 +26,8 @@
from tg.predicates import NotAuthorizedError
+from pylons.decorators.cache import beaker_cache
+
import logging
log = logging.getLogger(__name__)

0 comments on commit f649b34

Please sign in to comment.
Something went wrong with that request. Please try again.