Standard filters

Basic filters for use in your templates

urlencode

{{ value|urlencode }}

If value is "https://www.example.org/foo?a=b&c=d", the output will be "https%3A//www.example.org/foo%3Fa%3Db%26c%3Dd"

Last updated