diff options
author | Evgeny Fadeev <evgeny.fadeev@gmail.com> | 2012-10-28 05:37:03 -0300 |
---|---|---|
committer | Evgeny Fadeev <evgeny.fadeev@gmail.com> | 2012-10-28 05:37:03 -0300 |
commit | 980989b786c77ef2a7a23e23545c402e1b072591 (patch) | |
tree | e97799696a9770904f406cfdbd6fcbdb76aab262 /askbot/conf | |
parent | d35142f03ff8631d81d9d1307666994ea2da6270 (diff) | |
download | askbot-980989b786c77ef2a7a23e23545c402e1b072591.tar.gz askbot-980989b786c77ef2a7a23e23545c402e1b072591.tar.bz2 askbot-980989b786c77ef2a7a23e23545c402e1b072591.zip |
added reputation limit to insert links into questions and answers
Diffstat (limited to 'askbot/conf')
-rw-r--r-- | askbot/conf/minimum_reputation.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/askbot/conf/minimum_reputation.py b/askbot/conf/minimum_reputation.py index 152a2079..359855c9 100644 --- a/askbot/conf/minimum_reputation.py +++ b/askbot/conf/minimum_reputation.py @@ -107,6 +107,15 @@ settings.register( settings.register( livesettings.IntegerValue( MIN_REP, + 'MIN_REP_TO_INSERT_LINK', + default=10, + description=_('Insert links') + ) +) + +settings.register( + livesettings.IntegerValue( + MIN_REP, 'MIN_REP_TO_CLOSE_OWN_QUESTIONS', default=25, description=_('Close own questions'), |