Ticket #1348: defaulttags.py.diff

File defaulttags.py.diff, 626 bytes (added by j.rademaker@…, 18 years ago)
  • defaulttags.py

     
    121121    def render(self, context):
    122122        content = self.nodelist.render(context)
    123123        if content != self._last_seen:
    124             firstloop = (self._last_seen == None)
    125124            self._last_seen = content
    126             context.push()
    127             context['ifchanged'] = {'firstloop': firstloop}
    128             content = self.nodelist.render(context)
    129             context.pop()
    130125            return content
    131126        else:
    132127            return ''
Back to Top