Filter name is singular

This commit is contained in:
Maykel Moya 2014-02-17 11:46:05 +01:00
parent 5d686a459c
commit 2164573864

View file

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