summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2016-10-08 07:48:17 -0400
committerTim Graham <timograham@gmail.com>2016-10-08 08:07:06 -0400
commit19a140a1b37471e7e99f1fbb5e717b0d605a1895 (patch)
tree28fdac1f67f2b98e17e242976f59fa1ba69fbf09 /docs
parentbf91be83d56d70181de807a5e8d22679cf63a52f (diff)
Added template syntax highlighting in docs/topics/i18n/timezones.txt.
Diffstat (limited to 'docs')
-rw-r--r--docs/topics/i18n/timezones.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/topics/i18n/timezones.txt b/docs/topics/i18n/timezones.txt
index 8cf3c1325b..a5848bf33e 100644
--- a/docs/topics/i18n/timezones.txt
+++ b/docs/topics/i18n/timezones.txt
@@ -251,6 +251,8 @@ output for computers rather than for humans. The following filters and tags,
provided by the ``tz`` template tag library, allow you to control the time zone
conversions.
+.. highlight:: html+django
+
Template tags
-------------
@@ -366,6 +368,8 @@ For example::
{{ value|timezone:"Europe/Paris" }}
+.. highlight:: python
+
.. _time-zones-migration-guide:
Migration guide