Filter name is singular

pull/6038/head
Maykel Moya 11 years ago
parent 5d686a459c
commit 2164573864

@ -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) }}

Loading…
Cancel
Save