code: def event_roster_view(request, id):
      
  
      event = get_object_or_404(Event, id=id)
  
      full_roster = list(event.attending.all())
      viewable_roster = []
      num_hidden_members = 0
      for p in full_roster:
          if p.can_view_eighth:
              viewable_roster.append(p)
          else:
              num_hidden_members += 1
  
      context = {
          "event": event,
          "viewable_roster": viewable_roster,
          "full_roster": full_roster,
          "num_hidden_members": num_hidden_members,
          "is_events_admin": request.user.has_admin_permission('events'),
      }
      return render(request, "events/roster.html", context)
docs: Show the event roster. Users with hidden eighth period permissions will not be displayed.
      Users will be able to view all other users, along with a count of the number of hidden users.
      (Same as 8th roster page.) Admins will see a full roster at the bottom.
  
      id: event id