Procházet zdrojové kódy

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

YQ před 2 týdny
rodič
revize
30e0a43937
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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>