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:45:15 +0100 |
| commit | 30e0a43937e685083fa1210c3594678a3b813806 (patch) | |
| tree | 648f20a91596d665bbe66acda2b3c6c109f4f17f /docs | |
| parent | ef6a83789b310a441237a190a493c9586a4cb260 (diff) | |
Fixed #36254 -- Fixed template dictionary unpacking in docs/topics/i18n/timezones.txt.
Diffstat (limited to 'docs')
| -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 905cb5c615..dae0209f3a 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> |
