diff options
| author | YQ <tinyaoqi@gmail.com> | 2025-03-14 17:20:34 +0800 |
|---|---|---|
| committer | Sarah Boyce <42296566+sarahboyce@users.noreply.github.com> | 2025-03-17 09:49:54 +0100 |
| commit | 71558701dfaf74e21160b76056ca7fc93cb2bd2f (patch) | |
| tree | 3969f88e7544dbabbbc39f105ecd8075ba2c31a1 | |
| parent | 8cb8820fbfbf2da4ebcae5f784cea3a0939d5639 (diff) | |
[5.1.x] Fixed #36254 -- Fixed template dictionary unpacking in docs/topics/i18n/timezones.txt.
Backport of 30e0a43937e685083fa1210c3594678a3b813806 from main.
| -rw-r--r-- | docs/topics/i18n/timezones.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/topics/i18n/timezones.txt b/docs/topics/i18n/timezones.txt index 594c1688a5..8d5a82f17b 100644 --- a/docs/topics/i18n/timezones.txt +++ b/docs/topics/i18n/timezones.txt @@ -207,7 +207,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> |
