summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/ref/templates/builtins.txt10
1 files changed, 5 insertions, 5 deletions
diff --git a/docs/ref/templates/builtins.txt b/docs/ref/templates/builtins.txt
index ed94f3de9d..b74723c28f 100644
--- a/docs/ref/templates/builtins.txt
+++ b/docs/ref/templates/builtins.txt
@@ -724,9 +724,9 @@ different call::
{% url path.to.view arg, arg2 as the_url %}
-
+
<a href="{{ the_url }}">I'm linking to {{ the_url }}</a>
-
+
This ``{% url ... as var %}`` syntax will *not* cause an error if the view is
missing. In practice you'll use this to link to views that are optional::
@@ -1247,7 +1247,7 @@ singular and plural suffix, separated by a comma.
Example::
You have {{ num_cherries }} cherr{{ num_cherries|pluralize:"y,ies" }}.
-
+
.. templatefilter:: pprint
pprint
@@ -1340,8 +1340,8 @@ Formats the variable according to the argument, a string formatting specifier.
This specifier uses Python string formatting syntax, with the exception that
the leading "%" is dropped.
-See http://docs.python.org/lib/typesseq-strings.html for documentation of
-Python string formatting
+See http://docs.python.org/library/stdtypes.html#string-formatting-operations
+for documentation of Python string formatting
For example::