Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed #10644: removed an undocumented, unused, and (as far as I can t…

…ell) unnecessary "feature" of the ifchanged tag. Thanks, akaihola.

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 4f7950ac05bbb602d2cade142fafb5311c24fe9a 1 parent 2c3c1f3
@jacobian jacobian authored
Showing with 0 additions and 3 deletions.
  1. +0 −3  django/template/
3  django/template/
@@ -186,10 +186,7 @@ def render(self, context):
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)
Please sign in to comment.
Something went wrong with that request. Please try again.