Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed #19308 - Clarified stringformat filter example

Thanks Shabda Raaj.
  • Loading branch information...
commit 2564e310141ab0f23b5282ecaec8e820250c355a 1 parent 04775b4
@timgraham timgraham authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 docs/ref/templates/builtins.txt
View
4 docs/ref/templates/builtins.txt
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.