Fixed left-over link-by-id
This commit is contained in:
parent
dd6e418814
commit
6197888680
|
@ -19,7 +19,7 @@
|
|||
|
||||
<td>
|
||||
{% for contrib in release.contribs %}
|
||||
<a href="{% url 'artist' contrib.id %}">{{ contrib.name }}</a>{% if not forloop.last %},{% endif %}
|
||||
<a href="{% url 'artist' contrib.slug %}">{{ contrib.name }}</a>{% if not forloop.last %},{% endif %}
|
||||
{% endfor %}
|
||||
</td>
|
||||
|
||||
|
|
|
@ -12,7 +12,7 @@ def get_contribs(contributors):
|
|||
contrib_list = []
|
||||
for contrib in contributors:
|
||||
contrib_list.append({
|
||||
"id": contrib.id,
|
||||
"slug": contrib.slug,
|
||||
"name": contrib.name
|
||||
})
|
||||
return contrib_list
|
||||
|
|
Loading…
Reference in a new issue