Fix typo causing upcoming events to not be displayed

This commit is contained in:
Michael Hall 2018-03-18 12:49:43 -04:00
parent 037dd7f3b5
commit 453d4cb7d9

View file

@ -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),