Skip to content

Commit

Permalink
Fixed #19308 - Clarified stringformat filter example
Browse files Browse the repository at this point in the history
Thanks Shabda Raaj.
  • Loading branch information
timgraham committed Nov 18, 2012
1 parent 04775b4 commit 2564e31
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/ref/templates/builtins.txt
Expand Up @@ -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

Expand Down

0 comments on commit 2564e31

Please sign in to comment.