Parcourir la source

Manual 2to3 on pseudo-HTML file.

pitchum il y a 7 ans
Parent
commit
2120d3f8b1
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      ffdnispdb/templates/project_detail.html

+ 1 - 1
ffdnispdb/templates/project_detail.html

@@ -42,7 +42,7 @@
         {%- endif %}
         {%- if project.otherWebsites %}
         {{ field(_("other websites")) }}
-          {% for n, w in project.otherWebsites.iteritems() -%}
+          {% for n, w in project.otherWebsites.items() -%}
           <dd>{{ n }}: <a href="{{ w }}">{{ w }}</a></dd>
           {%- endfor -%}
         {%- endif %}