diff --git a/scores/views.py b/scores/views.py index b0aeef9..0ede5a7 100644 --- a/scores/views.py +++ b/scores/views.py @@ -45,7 +45,7 @@ def club(request, club_id): def club_name(request, club_name): club = get_object_or_404(Club, name__iexact=club_name.lower()) - tournaments = Tournament.objects.filter(club=club.id) + tournaments = Tournament.objects.filter(club=club.id).order_by('id').reverse() template = loader.get_template('scores/club.html') context = { 'club': club, @@ -57,7 +57,7 @@ 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') + template = loader.get_template('scores/club.html').order_by('id').reverse() context = { 'club': club, 'tournaments': tournaments,