From 324af6f17458edc4f23b7db182484f2feffff9fa Mon Sep 17 00:00:00 2001 From: qw3rty Date: Tue, 11 May 2010 18:20:46 +0000 Subject: [PATCH] added the "Minimum reputation to not have your posts checked for spam." field to the minrep settings page. git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@223 0cfe37f9-358a-4d5e-be75-b63607b5c754 --- forum_modules/akismet/settings.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/forum_modules/akismet/settings.py b/forum_modules/akismet/settings.py index 8dae543..57606d4 100644 --- a/forum_modules/akismet/settings.py +++ b/forum_modules/akismet/settings.py @@ -1,8 +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_TO_FOR_NO_SPAM_CHECK = Setting('REP_TO_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."))) -- 2.39.5