Здравствуйте!
Есть модель
class Message(models.Model):
title = models.CharField(u"Title", max_length=255)
description = models.TextField(u"Description")
viewed = models.ManyToManyField(User)
Одно сообщение может быть отправленно нескольким пользователям.
При переходе в view стоит проверка просмотренно ли данное сообщение и если нет, то в viewed добавляется текущий пользователь
message.viewed.add(request.user)
Подскажите, пожалуйста, как мне вывести все непрочитанные сообщения для пользователя?