]> git.openstreetmap.org Git - osqa.git/blobdiff - forum/settings/email.py
Removing a bunch of incorrect, useless and/or obselete files that the repository...
[osqa.git] / forum / settings / email.py
index 43baeb5a4d97481bc1ca61a9c28fc2ed849977ab..7a0725bb24bedcf2a69f81f083ad08c579d6ef9a 100644 (file)
@@ -1,5 +1,6 @@
 from base import Setting, SettingSet\r
 from django.utils.translation import ugettext_lazy as _\r
+from django.forms.widgets import PasswordInput\r
 \r
 EMAIL_SET = SettingSet('email', _('Email Settings'), _("Email server and other email related settings."), 50)\r
 \r
@@ -29,7 +30,8 @@ label = _("Email Password"),
 help_text = _("""\r
 The password for your SMTP connection.\r
 """),\r
-required=False))\r
+required=False,\r
+widget=PasswordInput))\r
 \r
 EMAIL_USE_TLS = Setting('EMAIL_USE_TLS', False, EMAIL_SET, dict(\r
 label = _("Use TLS"),\r
@@ -39,7 +41,7 @@ Does your SMTP server uses TLS for authentication.
 required=False))\r
 \r
 DEFAULT_FROM_EMAIL = Setting('DEFAULT_FROM_EMAIL', '', EMAIL_SET, dict(\r
-label = _("Site email address"),\r
+label = _("Site 'from' email address"),\r
 help_text = _("""\r
 The address that will show up on the 'from' field on emails sent by your website.\r
 """),\r
@@ -50,4 +52,4 @@ label = _("Email subject prefix"),
 help_text = _("""\r
 Every email sent through your website will have the subject prefixed by this string. It's usually a good idea to have such a prefix so your users can easilly set up a filter on theyr email clients.\r
 """),\r
-required=False))
\ No newline at end of file
+required=False))\r