. "no problem. you can use filters like this for all kinds of stuff. if you ever need to, you can pass another variable with {{var1|filtername:var2}} and def filtername(var1,var2) in your *tags.py" . . .