Commit 2564e310 authored by Tim Graham's avatar Tim Graham
Browse files

Fixed #19308 - Clarified stringformat filter example

Thanks Shabda Raaj.
parent 04775b45
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1935,9 +1935,9 @@ for documentation of Python string formatting

For example::

    {{ value|stringformat:"s" }}
    {{ value|stringformat:"E" }}

If ``value`` is ``"Joel is a slug"``, the output will be ``"Joel is a slug"``.
If ``value`` is ``10``, the output will be ``1.000000E+01``.

.. templatefilter:: striptags