mirror of
https://github.com/coddingtonbear/django-mailbox.git
synced 2026-07-10 06:48:19 +02:00
Merge 9ad332addd into 74cba103dd
This commit is contained in:
commit
72a83583be
1 changed files with 3 additions and 0 deletions
|
|
@ -503,6 +503,9 @@ class Message(models.Model):
|
||||||
incoming_messages = IncomingMessageManager()
|
incoming_messages = IncomingMessageManager()
|
||||||
outgoing_messages = OutgoingMessageManager()
|
outgoing_messages = OutgoingMessageManager()
|
||||||
|
|
||||||
|
def __str__(self):
|
||||||
|
return '{} from {}'.format(self.subject, self.from_header)
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def address(self):
|
def address(self):
|
||||||
"""Property allowing one to get the relevant address(es).
|
"""Property allowing one to get the relevant address(es).
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue