X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/b029395233dcd4ca530b1bd40da05120061feefd..e25a52bd2e384683c99b6e57647b829dba3bf5a2:/forum_modules/akismet/settings.py?ds=sidebyside diff --git a/forum_modules/akismet/settings.py b/forum_modules/akismet/settings.py index 209f8e5..8e7a59e 100644 --- a/forum_modules/akismet/settings.py +++ b/forum_modules/akismet/settings.py @@ -1,13 +1,13 @@ -from forum.settings.base import Setting -from forum.settings.extkeys import EXT_KEYS_SET -from forum.settings.minrep import MIN_REP_SET -from django.utils.translation import ugettext_lazy as _ - -WORDPRESS_API_KEY = Setting('WORDPRESS_API_KEY', '', EXT_KEYS_SET, dict( -label = _("WordPress API key"), -help_text = _("Your WordPress API key. You can get one at http://wordpress.com/"), -required=False)) - -REP_FOR_NO_SPAM_CHECK = Setting('REP_FOR_NO_SPAM_CHECK', 750, MIN_REP_SET, dict( -label = _("Minimum reputation to not have your posts checked"), -help_text = _("The minimum reputation a user must have so that when they post a question, answer or comment it is not checked for spam."))) +from forum.settings.base import Setting +from forum.settings.extkeys import EXT_KEYS_SET +from forum.settings.minrep import MIN_REP_SET +from django.utils.translation import ugettext_lazy as _ + +WORDPRESS_API_KEY = Setting('WORDPRESS_API_KEY', '', EXT_KEYS_SET, dict( +label = _("WordPress API key"), +help_text = _("Your WordPress API key. You can get one at http://wordpress.com/"), +required=False)) + +REP_FOR_NO_SPAM_CHECK = Setting('REP_FOR_NO_SPAM_CHECK', 750, MIN_REP_SET, dict( +label = _("Minimum reputation to not have your posts checked"), +help_text = _("The minimum reputation a user must have so that when they post a question, answer or comment it is not checked for spam.")))