Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#1348 closed defect (fixed)

[patch] ifchanged tag renders content twice

Reported by: j.rademaker@… Owned by: adrian
Component: Template system Version: master
Severity: minor Keywords:
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:


For no apparent reason the {% ifchanged %} tag renders content twice which might lead to unexpected behavior as methods inside the tag are executed twice, eg.

{% ifchanged %} {{ object.do_something }} {% endifchanged %}

Attachments (1) (626 bytes) - added by j.rademaker@… 10 years ago.

Download all attachments as: .zip

Change History (2)

Changed 10 years ago by j.rademaker@…

comment:1 Changed 10 years ago by adrian

  • Resolution set to fixed
  • Status changed from new to closed

(In [2326]) Fixed #1348 -- {% ifchanged %} tag no longer renders content twice. Thanks, j.rademaker

Note: See TracTickets for help on using tickets.
Back to Top