From 453d4cb7d951f8a5dfb34903cac4ea1f75ec01b0 Mon Sep 17 00:00:00 2001 From: Michael Hall Date: Sun, 18 Mar 2018 12:49:43 -0400 Subject: [PATCH] Fix typo causing upcoming events to not be displayed --- get_together/views/teams.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/get_together/views/teams.py b/get_together/views/teams.py index 99e5684..e658882 100644 --- a/get_together/views/teams.py +++ b/get_together/views/teams.py @@ -29,7 +29,7 @@ def show_team(request, team_id, *args, **kwargs): recent_events = Event.objects.filter(team=team, end_time__lte=datetime.datetime.now()).order_by('-start_time')[:5] context = { 'team': team, - 'upcoming_event': upcoming_events, + 'upcoming_events': upcoming_events, 'recent_events': recent_events, 'is_member': request.user.profile in team.members.all(), 'member_list': Member.objects.filter(team=team),