summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorYQ <tinyaoqi@gmail.com>2025-03-14 17:20:34 +0800
committerSarah Boyce <42296566+sarahboyce@users.noreply.github.com>2025-03-17 09:47:46 +0100
commit181280027d998f676e82909c483f4f31e00828db (patch)
treea388c3e712b9fc41433e5567d45bec3119f2e088 /docs
parent9b60ec56dd761fa4a2148cfccb98e77760a04766 (diff)
[5.2.x] Fixed #36254 -- Fixed template dictionary unpacking in docs/topics/i18n/timezones.txt.
Backport of 30e0a43937e685083fa1210c3594678a3b813806 from main.
Diffstat (limited to 'docs')
-rw-r--r--docs/topics/i18n/timezones.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/topics/i18n/timezones.txt b/docs/topics/i18n/timezones.txt
index 0d866dac6c..0273c5e09b 100644
--- a/docs/topics/i18n/timezones.txt
+++ b/docs/topics/i18n/timezones.txt
@@ -206,7 +206,7 @@ Include a form in ``template.html`` that will ``POST`` to this view:
{% csrf_token %}
<label for="timezone">Time zone:</label>
<select name="timezone">
- {% for city, tz in timezones %}
+ {% for city, tz in timezones.items %}
<option value="{{ tz }}"{% if tz == TIME_ZONE %} selected{% endif %}>{{ city }}</option>
{% endfor %}
</select>