Opened 11 years ago

Closed 11 years ago

Last modified 10 years ago

#1348 closed defect (fixed)

[patch] ifchanged tag renders content twice

Reported by: j.rademaker@… Owned by: Adrian Holovaty
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@… 11 years ago.

Download all attachments as: .zip

Change History (2)

Changed 11 years ago by j.rademaker@…

Attachment: added

comment:1 Changed 11 years ago by Adrian Holovaty

Resolution: fixed
Status: newclosed

(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