diff --git a/AUTHORS b/AUTHORS index b896f22e6b..61558a3900 100644 --- a/AUTHORS +++ b/AUTHORS @@ -87,6 +87,7 @@ answer newbie questions, and generally made Django that much better: Luke Plant plisk Daniel Poelzleithner + J. Rademaker Brian Ray Oliver Rutherfurd 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 ''