Commit 21645738 by Maykel Moya

Filter name is singular

parent 5d686a45
......@@ -172,7 +172,7 @@ The variable value will be used as is, but the template evaluation will raise an
Defaulting Undefined Variables
------------------------------
Jinja2 provides a useful 'defaults' filter, that is often a better approach to failing if a variable is not defined.
Jinja2 provides a useful 'default' filter, that is often a better approach to failing if a variable is not defined.
{{ some_variable | default(5) }}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment