Yes
For example, in the filter {{ var|foo:"bar" }}, the filter foo would be passed the variable var and the argument "bar". I want to pass 2 (maybe 3) variables and correct me if I am wrong but Custom filters are just Python functions that take one or two arguments: So could do {{ var|foo:”bar, bar2” }} or {{ var|foo:”bar” “bar2” }} and pass 2 arguments? The doc doesn’t specify I assume if 2 args def cut(value, arg1, arg2): ? -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/e81d25fc-977c-47cd-84bf-ed65b2091391%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.