1
0
Fork 0

Modifying admin display; adding help text.

This commit is contained in:
Adam Coddington 2012-10-28 12:41:36 -07:00
parent 0cdf0e4126
commit 9615568108
2 changed files with 8 additions and 0 deletions

View file

@ -12,6 +12,7 @@ class MailboxAdmin(admin.ModelAdmin):
list_display = ( list_display = (
'name', 'name',
'uri', 'uri',
'from_email',
'active', 'active',
) )
actions = [get_new_mail] actions = [get_new_mail]

View file

@ -55,6 +55,13 @@ class Mailbox(models.Model):
default=None, default=None,
) )
active = models.BooleanField( 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, blank=True,
default=True, default=True,
) )