diff options
| author | Tim Graham <timograham@gmail.com> | 2012-11-17 19:29:31 -0500 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2012-11-17 19:29:31 -0500 |
| commit | 2564e310141ab0f23b5282ecaec8e820250c355a (patch) | |
| tree | 52e19c88bb8ba50757df2aa5c5ff2ed287168735 /docs | |
| parent | 04775b4598d1a9c5bcc0c1da431e368f28dcd13e (diff) | |
Fixed #19308 - Clarified stringformat filter example
Thanks Shabda Raaj.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/ref/templates/builtins.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/ref/templates/builtins.txt b/docs/ref/templates/builtins.txt index 5b76952c49..6e5e18543c 100644 --- a/docs/ref/templates/builtins.txt +++ b/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 |
