[Python-modules-commits] [django-jinja] 01/03: New upstream version 2.3.1

Edward Betts edward at moszumanska.debian.org
Thu Oct 5 09:07:15 UTC 2017


This is an automated email from the git hooks/post-receive script.

edward pushed a commit to annotated tag debian/2.3.1-1
in repository django-jinja.

commit 498ef7e753fa0a58389ef0f44911d578f717607c
Author: Edward Betts <edward at 4angle.com>
Date:   Thu Oct 5 09:40:34 2017 +0100

    New upstream version 2.3.1
---
 PKG-INFO                       | 2 +-
 django_jinja.egg-info/PKG-INFO | 2 +-
 django_jinja/backend.py        | 9 +++------
 setup.cfg                      | 1 +
 setup.py                       | 2 +-
 5 files changed, 7 insertions(+), 9 deletions(-)

diff --git a/PKG-INFO b/PKG-INFO
index 937a284..3902859 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: django-jinja
-Version: 2.3.0
+Version: 2.3.1
 Summary: Jinja2 templating language integrated in Django.
 Home-page: https://github.com/niwinz/django-jinja
 Author: Andrey Antukh
diff --git a/django_jinja.egg-info/PKG-INFO b/django_jinja.egg-info/PKG-INFO
index 937a284..3902859 100644
--- a/django_jinja.egg-info/PKG-INFO
+++ b/django_jinja.egg-info/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: django-jinja
-Version: 2.3.0
+Version: 2.3.1
 Summary: Jinja2 templating language integrated in Django.
 Home-page: https://github.com/niwinz/django-jinja
 Author: Andrey Antukh
diff --git a/django_jinja/backend.py b/django_jinja/backend.py
index 08dc62e..e3766ef 100644
--- a/django_jinja/backend.py
+++ b/django_jinja/backend.py
@@ -54,13 +54,13 @@ class Origin(object):
 
 class Template(object):
     def __init__(self, template, backend):
-        self.template = template
+        self._template = template
         self.backend = backend
         self.origin = Origin(name=template.filename, template_name=template.name)
 
     @property
     def name(self):
-        return self.template.name
+        return self._template.name
 
     def render(self, context=None, request=None):
         if context is None:
@@ -102,8 +102,7 @@ class Template(object):
             signals.template_rendered.send(sender=self, template=self,
                                            context=context)
 
-
-        return mark_safe(self.template.render(context))
+        return mark_safe(self._template.render(context))
 
 
 class Jinja2(BaseEngine):
@@ -208,8 +207,6 @@ class Jinja2(BaseEngine):
         self._initialize_thirdparty()
         self._initialize_bytecode_cache()
 
-
-
     def _initialize_bytecode_cache(self):
         if self._bytecode_cache["enabled"]:
             cls = utils.load_class(self._bytecode_cache["backend"])
diff --git a/setup.cfg b/setup.cfg
index 8bfd5a1..861a9f5 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -1,4 +1,5 @@
 [egg_info]
 tag_build = 
 tag_date = 0
+tag_svn_revision = 0
 
diff --git a/setup.py b/setup.py
index 127caa7..ffaf74a 100644
--- a/setup.py
+++ b/setup.py
@@ -15,7 +15,7 @@ if sys.version_info < (2, 7):
 
 setup(
     name = "django-jinja",
-    version = "2.3.0",
+    version = "2.3.1",
     description = "Jinja2 templating language integrated in Django.",
     long_description = "",
     keywords = "django, jinja2",

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/django-jinja.git



More information about the Python-modules-commits mailing list