diff --git a/django_mailbox/admin.py b/django_mailbox/admin.py index 857bf21..b953947 100644 --- a/django_mailbox/admin.py +++ b/django_mailbox/admin.py @@ -41,7 +41,19 @@ resend_message_received_signal.short_description = ( ) class MailboxForm(forms.ModelForm): - uri = forms.CharField(widget=forms.PasswordInput) + uri = forms.CharField(widget=forms.PasswordInput, + help_text="For security, the URI will not be shown and will " + "be encrypted in database " + "
" + "Example: imap+ssl://myusername:mypassword@someserver
" + "
" + "Internet transports include 'imap' and 'pop3'; " + "common local file transports include 'maildir', 'mbox', " + "and less commonly 'babyl', 'mh', and 'mmdf'.
" + "
" + "Be sure to urlencode your username and password should they " + "contain illegal characters (like @, :, etc)." + ) class Meta: model = Mailbox