summaryrefslogtreecommitdiff
path: root/docs/ref/templates
diff options
context:
space:
mode:
authorRussell Keith-Magee <russell@keith-magee.com>2009-02-22 06:09:28 +0000
committerRussell Keith-Magee <russell@keith-magee.com>2009-02-22 06:09:28 +0000
commitaf346081e393e402bc53fbb5466228e58f2c4b9f (patch)
tree802173d18e2abaad59f2ffe9b1bddacd331ac5e4 /docs/ref/templates
parent7b9fe15a9f60690c52a66784fc8d93d448f3bca0 (diff)
Fixed #10007 -- Corrected (and narrowed) a reference to the Python standard library documentation. Thanks to d00gs for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9863 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs/ref/templates')
-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 1c7ac4f6dc..a79063c9de 100644
--- a/docs/ref/templates/builtins.txt
+++ b/docs/ref/templates/builtins.txt
@@ -753,9 +753,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::
@@ -1276,7 +1276,7 @@ singular and plural suffix, separated by a comma.
Example::
You have {{ num_cherries }} cherr{{ num_cherries|pluralize:"y,ies" }}.
-
+
.. templatefilter:: pprint
pprint
@@ -1369,8 +1369,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::