mirror of
https://github.com/django/django.git
synced 2024-11-28 10:48:32 +01:00
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" }}
|
||||
|
||||
If ``value`` is ``None``, the output will be the string ``"nothing"``.
|
||||
If ``value`` is ``None``, the output will be ``nothing``.
|
||||
|
||||
.. templatefilter:: dictsort
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user