From 2564e310141ab0f23b5282ecaec8e820250c355a Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Sat, 17 Nov 2012 19:29:31 -0500 Subject: [PATCH] Fixed #19308 - Clarified stringformat filter example Thanks Shabda Raaj. --- docs/ref/templates/builtins.txt | 4 ++-- 1 file 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