forked from mirror/django-mailbox
Modifying admin display; adding help text.
This commit is contained in:
parent
0cdf0e4126
commit
9615568108
2 changed files with 8 additions and 0 deletions
|
|
@ -12,6 +12,7 @@ class MailboxAdmin(admin.ModelAdmin):
|
|||
list_display = (
|
||||
'name',
|
||||
'uri',
|
||||
'from_email',
|
||||
'active',
|
||||
)
|
||||
actions = [get_new_mail]
|
||||
|
|
|
|||
|
|
@ -55,6 +55,13 @@ class Mailbox(models.Model):
|
|||
default=None,
|
||||
)
|
||||
active = models.BooleanField(
|
||||
help_text="""
|
||||
Check this e-mail inbox for new e-mail messages during polling
|
||||
cycles. This checkbox does not have an effect upon whether
|
||||
mail is collected here when this mailbox receives mail from a
|
||||
pipe, and does not affect whether e-mail messages can be
|
||||
dispatched from this mailbox.
|
||||
""",
|
||||
blank=True,
|
||||
default=True,
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue