Commit ee51284e authored by Okhin's avatar Okhin
Browse files

Fixing a 500 error on the /view/id page

parent 445775d7
...@@ -93,7 +93,7 @@ $(document).ready(function() { ...@@ -93,7 +93,7 @@ $(document).ready(function() {
<h4>{% trans "Attachments" %}</h4> <h4>{% trans "Attachments" %}</h4>
<ul> <ul>
{%for a in c.attachment_set.all%} {%for a in c.attachment_set.all%}
<li><a href="{% url attach a.id %}">{{a.name}}</a></li> <li><a href="{% url 'attach' a.id %}">{{a.name}}</a></li>
{%endfor%} {%endfor%}
</ul> </ul>
</div> </div>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment