summaryrefslogtreecommitdiff
path: root/docs/ref/templates
diff options
context:
space:
mode:
authorNick Pope <nick@nickpope.me.uk>2021-04-27 12:09:00 +0100
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2021-05-17 09:46:09 +0200
commitc156e369553c75a30c78b8ed54a57b1101865105 (patch)
treeda2e6df5ca94a1dea02bd24e9a68a0b3a89703a1 /docs/ref/templates
parent7c4ee487c7392a3a394caf62efad355fad639655 (diff)
downloaddjango-c156e369553c75a30c78b8ed54a57b1101865105.tar.gz
Refs #32720 -- Updated various links in docs to avoid redirects and use HTTPS.
Diffstat (limited to 'docs/ref/templates')
-rw-r--r--docs/ref/templates/builtins.txt9
1 files changed, 5 insertions, 4 deletions
diff --git a/docs/ref/templates/builtins.txt b/docs/ref/templates/builtins.txt
index e468b9c62e..f81410b139 100644
--- a/docs/ref/templates/builtins.txt
+++ b/docs/ref/templates/builtins.txt
@@ -1324,8 +1324,9 @@ If ``value`` is ``"String with spaces"``, the output will be
Formats a date according to the given format.
-Uses a similar format as PHP's ``date()`` function (https://php.net/date)
-with some differences.
+Uses a similar format to PHP's `date()
+<https://www.php.net/manual/en/function.date.php>`_ function with some
+differences.
.. note::
These format characters are not used in Django outside of templates. They
@@ -2106,8 +2107,8 @@ individual elements of the sequence.
Returns a slice of the list.
Uses the same syntax as Python's list slicing. See
-https://www.diveinto.org/python3/native-datatypes.html#slicinglists
-for an introduction.
+https://diveinto.org/python3/native-datatypes.html#slicinglists for an
+introduction.
Example::