]> git.openstreetmap.org Git - osqa.git/blob - forum_modules/akismet/settings.py
resolves an issue with empty node bodies when unicode text is passed to Markdown
[osqa.git] / forum_modules / akismet / settings.py
1 from forum.settings.base import Setting
2 from forum.settings.extkeys import EXT_KEYS_SET
3 from forum.settings.minrep import MIN_REP_SET
4 from django.utils.translation import ugettext_lazy as _
5
6 WORDPRESS_API_KEY = Setting('WORDPRESS_API_KEY', '', EXT_KEYS_SET, dict(
7 label = _("WordPress API key"),
8 help_text = _("Your WordPress API key. You can get one at <a href='http://wordpress.com/'>http://wordpress.com/</a>"),
9 required=False))
10
11 REP_FOR_NO_SPAM_CHECK = Setting('REP_FOR_NO_SPAM_CHECK', 750, MIN_REP_SET, dict(
12 label = _("Minimum reputation to not have your posts checked"),
13 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.")))