Browse Source

Fixed #36254 -- Fixed template dictionary unpacking in docs/topics/i18n/timezones.txt.

YQ 1 week ago
parent
commit
30e0a43937
1 changed files with 1 additions and 1 deletions
  1. 1 1
      docs/topics/i18n/timezones.txt

+ 1 - 1
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>