Razmig Sarkissian 2 years ago
parent 18e48d44f1
commit 4184ac27b4
  1. 2
      scores/templates/scores/tournament.html
  2. 4
      scores/views.py

@ -176,7 +176,6 @@
{% endfor %}
{% for match in ended_matches %}
{% if match.isMatch %}
<div class="match">
<div style="width: 100%;">
@ -253,7 +252,6 @@
{% endif %}
</div>
{% endif %}
{% endfor %}
</div>

@ -56,8 +56,8 @@ def club_name(request, club_name):
def tv_club_name(request, club_name):
club = get_object_or_404(Club, name__iexact=club_name.lower())
tournaments = Tournament.objects.filter(club=club.id)
template = loader.get_template('scores/club.html').order_by('id').reverse()
tournaments = Tournament.objects.filter(club=club.id).order_by('id').reverse()
template = loader.get_template('scores/club.html')
context = {
'club': club,
'tournaments': tournaments,

Loading…
Cancel
Save