Opened 16 years ago

Closed 16 years ago

#5850 closed (worksforme)

Can't use filters inside tags in templates

Reported by: italomaia Owned by: nobody
Component: Template system Version: dev
Severity: Keywords: filters tags
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no


Something like the folowing code should work : {% url page_number|add:1 %} .
It seems like filters can not be used inside tags, what looks odd to me, as filters are some kind of
simple helpers.

Change History (1)

comment:1 by Brian Rosner, 16 years ago

Resolution: worksforme
Status: newclosed

This works for me. You might want to read up on how to use the {% url %} tag: To ensure you are using the rest of it correctly. Re-open only if you can provide exact reasoning and examples to support it.

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