[1.11.x] Made a sentence in default_if_none docs consistent with other template filters.
Backport of a7214f0e84
from master
This commit is contained in:
parent
2b8a345996
commit
197a2cd487
|
@ -1511,7 +1511,7 @@ For example::
|
||||||
|
|
||||||
{{ value|default_if_none:"nothing" }}
|
{{ value|default_if_none:"nothing" }}
|
||||||
|
|
||||||
If ``value`` is ``None``, the output will be the string ``"nothing"``.
|
If ``value`` is ``None``, the output will be ``nothing``.
|
||||||
|
|
||||||
.. templatefilter:: dictsort
|
.. templatefilter:: dictsort
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue