Opened 16 years ago

Last modified 16 years ago

#6232 closed

ifchanged template tag does not allow paramater with filter — at Version 3

Reported by: keizie@… Owned by: nobody
Component: Template system Version: 0.96
Severity: Keywords: tag filter
Cc: django-ko@… Triage Stage: Ready for checkin
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description (last modified by Gary Wilson)

{% ifchanged var|filter %} blah {% endifchanged %} seems to fail silently.
This could be an enhancement.

Change History (4)

comment:1 by Gary Wilson, 16 years ago

Resolution: invalid
Status: newclosed

All template tags and filters are supposed to fail silently.

comment:2 by keizie@…, 16 years ago

Resolution: invalid
Status: closedreopened

Silent failure is not the point at all.

ifchanged does not allow var with filter but just var alone.
I want to use var|filter as parameter of ifchanged.

Close this ticket if you don't allow such syntax.

comment:3 by Gary Wilson, 16 years ago

Description: modified (diff)
Summary: ifchanged paramater with filterifchanged template tag does not allow paramater with filter
Triage Stage: UnreviewedAccepted

In that case, I'll re-open this.

by Chris Beaven, 16 years ago

Attachment: 6232.diff added

enhancement, with test

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