Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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: http://code.djangoproject.com/svn/django/trunk@10438 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 4f7950ac05bbb602d2cade142fafb5311c24fe9a 1 parent 2c3c1f3
Jacob Kaplan-Moss authored April 07, 2009

Showing 1 changed file with 0 additions and 3 deletions. Show diff stats Hide diff stats

  1. 3  django/template/defaulttags.py
3  django/template/defaulttags.py
@@ -186,10 +186,7 @@ def render(self, context):
186 186
         if compare_to != self._last_seen:
187 187
             firstloop = (self._last_seen == None)
188 188
             self._last_seen = compare_to
189  
-            context.push()
190  
-            context['ifchanged'] = {'firstloop': firstloop}
191 189
             content = self.nodelist_true.render(context)
192  
-            context.pop()
193 190
             return content
194 191
         elif self.nodelist_false:
195 192
             return self.nodelist_false.render(context)

0 notes on commit 4f7950a

Please sign in to comment.
Something went wrong with that request. Please try again.