Use items() for Python 3 support.
This commit is contained in:
parent
7075a065a2
commit
c5a6bbdc88
@ -32,7 +32,7 @@
|
|||||||
<h3>Camera Information</h3>
|
<h3>Camera Information</h3>
|
||||||
<table id="exif_camera_information">
|
<table id="exif_camera_information">
|
||||||
<tbody>
|
<tbody>
|
||||||
{% for label, value in media.exif_display_data_short().iteritems() %}
|
{% for label, value in media.exif_display_data_short().items() %}
|
||||||
<tr>
|
<tr>
|
||||||
<td class="col1">{{ label }}</td>
|
<td class="col1">{{ label }}</td>
|
||||||
<td>{{ value }}</td>
|
<td>{{ value }}</td>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user