mirror of
https://github.com/django/django.git
synced 2025-12-01 15:53:15 +00:00
Fixed #36254 -- Fixed template dictionary unpacking in docs/topics/i18n/timezones.txt.
This commit is contained in:
parent
ef6a83789b
commit
30e0a43937
1 changed files with 1 additions and 1 deletions
|
|
@ -206,7 +206,7 @@ Include a form in ``template.html`` that will ``POST`` to this view:
|
||||||
{% csrf_token %}
|
{% csrf_token %}
|
||||||
<label for="timezone">Time zone:</label>
|
<label for="timezone">Time zone:</label>
|
||||||
<select name="timezone">
|
<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>
|
<option value="{{ tz }}"{% if tz == TIME_ZONE %} selected{% endif %}>{{ city }}</option>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</select>
|
</select>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue