Use items() for Python 3 support.
This commit is contained in:
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user