Django 1.5
[audio.git] / apps / archive / templates / archive / list_publishing.html
index 1c220d8..6bcf9e0 100755 (executable)
@@ -9,12 +9,12 @@
 
 
 {% block file-list-wrapper %}
-    {% for k, objects in objects_by_status.items %}
+    {% for k, objects in status_objects %}
         <h2>{{ k.1 }}</h2>
         <ul>
             {% for file in objects %}
             <li>
-                <a href='{% url file file.id %}'>{{ file }}</a>
+                <a href='{% url "file" file.id %}'>{{ file }}</a>
                 ({% if file.mp3_status = k.0 %}MP3{% if file.ogg_status = k.0 %}, {% endif %}{% endif %}{% if file.ogg_status = k.0 %}Ogg{% endif %})
             </li>
             {% endfor %}