summaryrefslogtreecommitdiffstats
path: root/askbot/conf
diff options
context:
space:
mode:
authorEvgeny Fadeev <evgeny.fadeev@gmail.com>2013-04-15 08:46:12 -0400
committerEvgeny Fadeev <evgeny.fadeev@gmail.com>2013-04-15 08:46:12 -0400
commit5f03d518dcc07a610069cd37ed31c99626cb5c52 (patch)
treeb33ee134ca1e7619918cf92fd2beb365008ffb4a /askbot/conf
parent0d5b61161be04616973495ba39822e1af60a6f0b (diff)
downloadaskbot-5f03d518dcc07a610069cd37ed31c99626cb5c52.tar.gz
askbot-5f03d518dcc07a610069cd37ed31c99626cb5c52.tar.bz2
askbot-5f03d518dcc07a610069cd37ed31c99626cb5c52.zip
added "auto-tweet" feature
Diffstat (limited to 'askbot/conf')
-rw-r--r--askbot/conf/minimum_reputation.py15
1 files changed, 11 insertions, 4 deletions
diff --git a/askbot/conf/minimum_reputation.py b/askbot/conf/minimum_reputation.py
index 94d5869e..3d0fa1cd 100644
--- a/askbot/conf/minimum_reputation.py
+++ b/askbot/conf/minimum_reputation.py
@@ -230,9 +230,16 @@ settings.register(
'MIN_REP_TO_TRIGGER_EMAIL',
default=15,
description=_('Trigger email notifications'),
- help_text=_(
- 'Reduces spam as notifications wont\'t be sent '
- 'to regular users for posts of low karma users'
- )
+ help_text=_('Reduces spam')
+ )
+)
+
+settings.register(
+ livesettings.IntegerValue(
+ MIN_REP,
+ 'MIN_REP_TO_TWEET_ON_OTHERS_ACCOUNTS',
+ default=15,
+ description=_('Trigger tweets on others accounts'),
+ help_text=_('Reduces spam')
)
)