Use .twitch_id instead of .id
This commit is contained in:
parent
e3a68ab4d2
commit
d63e20aebc
11 changed files with 32 additions and 64 deletions
|
|
@ -7,7 +7,7 @@
|
|||
{% if user.is_authenticated %}
|
||||
<form id="notification-form"
|
||||
method="post"
|
||||
action="{% url 'twitch:subscribe_org_notifications' org_id=organization.id %}">
|
||||
action="{% url 'twitch:subscribe_org_notifications' org_id=organization.twitch_id %}">
|
||||
{% csrf_token %}
|
||||
<div>
|
||||
<input type="checkbox"
|
||||
|
|
@ -30,7 +30,7 @@
|
|||
{% endif %}
|
||||
<ul id="games-list">
|
||||
{% for game in games %}
|
||||
<li id="game-{{ game.id }}">
|
||||
<li id="game-{{ game.twitch_id }}">
|
||||
<a href="{% url 'twitch:game_detail' game.twitch_id %}">{{ game }}</a>
|
||||
</li>
|
||||
{% endfor %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue