Opened 19 years ago

Closed 19 years ago

Last modified 18 years ago

#1348 closed defect (fixed)

[patch] ifchanged tag renders content twice

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

Description

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)

defaulttags.py.diff (626 bytes ) - added by j.rademaker@… 19 years ago.

Download all attachments as: .zip

Change History (2)

by j.rademaker@…, 19 years ago

Attachment: defaulttags.py.diff added

comment:1 by Adrian Holovaty, 19 years ago

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