Skip to content

Commit

Permalink
@beaker_cache was not available inside the deacorators module while i…
Browse files Browse the repository at this point in the history
…t should have been
  • Loading branch information
amol- authored and clsdaniel committed Oct 3, 2012
1 parent 7cc62f9 commit 51e3826
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion tg/__init__.py
Expand Up @@ -59,7 +59,7 @@
from tg.configuration import config from tg.configuration import config
from tg.release import version from tg.release import version
from tg.decorators import (validate, expose, override_template, use_custom_format, 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.flash import flash, get_flash, get_status
from tg.jsonify import encode as json_encode from tg.jsonify import encode as json_encode
Expand Down
2 changes: 2 additions & 0 deletions tg/decorators.py
Expand Up @@ -26,6 +26,8 @@


from tg.predicates import NotAuthorizedError from tg.predicates import NotAuthorizedError


from pylons.decorators.cache import beaker_cache

import logging import logging
log = logging.getLogger(__name__) log = logging.getLogger(__name__)


Expand Down

0 comments on commit 51e3826

Please sign in to comment.