Permalink
Browse files

- Template autoreloading did not function, even if ``reload_templates…

…`` was

  set to ``True``.
  • Loading branch information...
1 parent 09ac8b5 commit efec0420ee28cbfba1f3c99e9d1491b53a93d7ec @mcdonc mcdonc committed Nov 6, 2010
Showing with 10 additions and 8 deletions.
  1. +7 −4 CHANGES.txt
  2. +1 −1 docs/conf.py
  3. +1 −2 pyramid_jinja2/__init__.py
  4. +1 −1 setup.py
View
@@ -1,8 +1,11 @@
-Next release
-------------
+0.2 (2010-11-06)
+----------------
-0.1
----
+- Template autoreloading did not function, even if ``reload_templates`` was
+ set to ``True``.
+
+0.1 (2010-11-05)
+----------------
- First release. *Not* backwards compatible with ``repoze.bfg.jinja2``: we
use a filesystem loader (the directories to load from come from the
View
@@ -54,7 +54,7 @@
# other places throughout the built documents.
#
# The short X.Y version.
-version = '0.1'
+version = '0.2'
# The full version, including alpha/beta/rc tags.
release = version
@@ -8,7 +8,6 @@
from pyramid.exceptions import ConfigurationError
from pyramid.resource import abspath_from_resource_spec
-from pyramid.decorator import reify
class IJinja2Environment(Interface):
pass
@@ -57,7 +56,7 @@ def __init__(self, info, environment):
def implementation(self):
return self.template
- @reify
+ @property
def template(self):
return self.environment.get_template(self.info.name)
View
@@ -12,7 +12,7 @@
#
##############################################################################
-__version__ = '0.0'
+__version__ = '0.2'
import os

0 comments on commit efec042

Please sign in to comment.