Commit c262252c authored by Tim Graham's avatar Tim Graham
Browse files

[1.5.X] Fixed #19308 - Clarified stringformat filter example

Thanks Shabda Raaj.

Backport of 2564e310 from master
parent 31da2a5e
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1911,9 +1911,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