Skip to content

Commit

Permalink
wip, waiting for #891 merge
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentporte committed Jan 28, 2025
1 parent 294938f commit 125aaaf
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lacommunaute/notification/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,3 +79,9 @@ def sent(self):
return self.sent_at is not None

objects = NotificationQuerySet().as_manager()

# TODO: vincentporte, en attente de la PR#891
# def update(self, *args, **kwargs):
# super().update(*args, **kwargs)
# if visited_at:
# EmailLastSeen.objects.seen(self.recipient, EmailLastSeenKind.NOTIFICATION)

0 comments on commit 125aaaf

Please sign in to comment.