#1348 closed defect (fixed)
[patch] ifchanged tag renders content twice
| Reported by: | 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)
Change History (2)
by , 20 years ago
| Attachment: | defaulttags.py.diff added | 
|---|
comment:1 by , 20 years ago
| Resolution: | → fixed | 
|---|---|
| Status: | new → closed | 
  Note:
 See   TracTickets
 for help on using tickets.
    
(In [2326]) Fixed #1348 -- {% ifchanged %} tag no longer renders content twice. Thanks, j.rademaker