Skip to content

Commit

Permalink
Merge pull request #113 from TeamProductionSystem/MM-58
Browse files Browse the repository at this point in the history
Updated ArchiveSessionView to filter objects with end time that has p…
  • Loading branch information
GitLukeW authored Jul 11, 2023
2 parents b62b2bd + 85fa71c commit b2f7cdd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion team_production_system/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@ def get_queryset(self):
# Get sessions for the logged in user
return Session.objects.filter(Q(mentor__user=self.request.user) |
Q(mentee__user=self.request.user),
start_time__lt=timezone.now() - timedelta(hours=24))
end_time__lt=timezone.now())


class NotificationSettingsView(generics.RetrieveUpdateAPIView):
Expand Down

0 comments on commit b2f7cdd

Please sign in to comment.