1
0
Fork 1
mirror of https://github.com/coddingtonbear/django-mailbox.git synced 2026-07-09 22:38:19 +02:00
This commit is contained in:
Barış Aslan 2017-07-08 12:18:19 +00:00 committed by GitHub
commit 72a83583be

View file

@ -502,6 +502,9 @@ class Message(models.Model):
unread_messages = UnreadMessageManager()
incoming_messages = IncomingMessageManager()
outgoing_messages = OutgoingMessageManager()
def __str__(self):
return '{} from {}'.format(self.subject, self.from_header)
@property
def address(self):