Opened 17 years ago
Closed 17 years ago
#6232 closed (duplicate)
ifchanged template tag does not allow paramater with filter
Reported by: | 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 )
{% ifchanged var|filter %} blah {% endifchanged %}
seems to fail silently.
This could be an enhancement.
Attachments (1)
Change History (6)
comment:1 by , 17 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
comment:2 by , 17 years ago
Resolution: | invalid |
---|---|
Status: | closed → reopened |
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 , 17 years ago
Description: | modified (diff) |
---|---|
Summary: | ifchanged paramater with filter → ifchanged template tag does not allow paramater with filter |
Triage Stage: | Unreviewed → Accepted |
In that case, I'll re-open this.
comment:4 by , 17 years ago
Triage Stage: | Accepted → Ready for checkin |
---|
If Gary accepts the idea, then this patch handles it nicely so no reason not to push to checkin.
comment:5 by , 17 years ago
Resolution: | → duplicate |
---|---|
Status: | reopened → closed |
Dupe of #5756.
This is fixing the symptom, not the root problem (there are other tags with the same problem, so we should fix them all).
All template tags and filters are supposed to fail silently.