From 4f7950ac05bbb602d2cade142fafb5311c24fe9a Mon Sep 17 00:00:00 2001 From: Jacob Kaplan-Moss Date: Tue, 7 Apr 2009 21:55:39 +0000 Subject: [PATCH] Fixed #10644: removed an undocumented, unused, and (as far as I can tell) unnecessary "feature" of the ifchanged tag. Thanks, akaihola. git-svn-id: http://code.djangoproject.com/svn/django/trunk@10438 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- django/template/defaulttags.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/django/template/defaulttags.py b/django/template/defaulttags.py index 2eee534830..c8ad48b958 100644 --- a/django/template/defaulttags.py +++ b/django/template/defaulttags.py @@ -186,10 +186,7 @@ class IfChangedNode(Node): if compare_to != self._last_seen: firstloop = (self._last_seen == None) self._last_seen = compare_to - context.push() - context['ifchanged'] = {'firstloop': firstloop} content = self.nodelist_true.render(context) - context.pop() return content elif self.nodelist_false: return self.nodelist_false.render(context)