mirror of https://github.com/django/django.git
Made a sentence in default_if_none docs consistent with other template filters.
This commit is contained in:
parent
3d14cbc867
commit
a7214f0e84
|
@ -1499,7 +1499,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