You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have to manage lots of templates where I have to apply the default filter on every single variable. Today, I need to write |default(value=""). I won't ask for an auto-default because it already was discussed before, but would it be possible to make the filter more like what's in jinja to speed up the process?
I have to manage lots of templates where I have to apply the
default
filter on every single variable. Today, I need to write|default(value="")
. I won't ask for an auto-default because it already was discussed before, but would it be possible to make the filter more like what's in jinja to speed up the process?Let's use this basic call as an example :
First, make the
value
parameter optional and return an empty string if not present:Second, add the
d
alias:The text was updated successfully, but these errors were encountered: