mirror of
https://github.com/coddingtonbear/django-mailbox.git
synced 2026-07-10 06:48:19 +02:00
Help text in uri form
This commit is contained in:
parent
e073a8c32c
commit
cd1e4de42b
1 changed files with 13 additions and 1 deletions
|
|
@ -41,7 +41,19 @@ resend_message_received_signal.short_description = (
|
||||||
)
|
)
|
||||||
|
|
||||||
class MailboxForm(forms.ModelForm):
|
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 "
|
||||||
|
"<br />"
|
||||||
|
"Example: imap+ssl://myusername:mypassword@someserver <br />"
|
||||||
|
"<br />"
|
||||||
|
"Internet transports include 'imap' and 'pop3'; "
|
||||||
|
"common local file transports include 'maildir', 'mbox', "
|
||||||
|
"and less commonly 'babyl', 'mh', and 'mmdf'. <br />"
|
||||||
|
"<br />"
|
||||||
|
"Be sure to urlencode your username and password should they "
|
||||||
|
"contain illegal characters (like @, :, etc)."
|
||||||
|
)
|
||||||
|
|
||||||
class Meta:
|
class Meta:
|
||||||
model = Mailbox
|
model = Mailbox
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue