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