diff options
| -rw-r--r-- | AUTHORS | 1 | ||||
| -rw-r--r-- | django/core/template/defaulttags.py | 5 |
2 files changed, 1 insertions, 5 deletions
@@ -87,6 +87,7 @@ answer newbie questions, and generally made Django that much better: Luke Plant <http://lukeplant.me.uk/> plisk Daniel Poelzleithner <http://poelzi.org/> + J. Rademaker Brian Ray <http://brianray.chipy.org/> Oliver Rutherfurd <http://rutherfurd.net/> David Schein diff --git a/django/core/template/defaulttags.py b/django/core/template/defaulttags.py index 8d3865660a..1438b9f74a 100644 --- a/django/core/template/defaulttags.py +++ b/django/core/template/defaulttags.py @@ -121,12 +121,7 @@ class IfChangedNode(Node): def render(self, context): content = self.nodelist.render(context) if content != self._last_seen: - firstloop = (self._last_seen == None) self._last_seen = content - context.push() - context['ifchanged'] = {'firstloop': firstloop} - content = self.nodelist.render(context) - context.pop() return content else: return '' |
