mirror of
https://github.com/coddingtonbear/django-mailbox.git
synced 2026-07-09 22:38:19 +02:00
Added __str__ function to Mailbox Model
Added __str__ function to Mailbox Model for Messages Admin Template
This commit is contained in:
parent
89b2d3a105
commit
a6b9553410
1 changed files with 3 additions and 0 deletions
|
|
@ -109,6 +109,9 @@ class Mailbox(models.Model):
|
|||
|
||||
objects = models.Manager()
|
||||
active_mailboxes = ActiveMailboxManager()
|
||||
|
||||
def __str__(self):
|
||||
return self.name
|
||||
|
||||
@property
|
||||
def _protocol_info(self):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue