diff options
Diffstat (limited to 'askbot/conf/forum_data_rules.py')
-rw-r--r-- | askbot/conf/forum_data_rules.py | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/askbot/conf/forum_data_rules.py b/askbot/conf/forum_data_rules.py index 80af2f5b..a875092e 100644 --- a/askbot/conf/forum_data_rules.py +++ b/askbot/conf/forum_data_rules.py @@ -89,6 +89,24 @@ settings.register( ) settings.register( + livesettings.IntegerValue( + FORUM_DATA_RULES, + 'MIN_TITLE_LENGTH', + default=10, + description=_('Minimum length of title (number of characters)') + ) +) + +settings.register( + livesettings.IntegerValue( + FORUM_DATA_RULES, + 'MIN_EDITOR_LENGTH', + default=10, + description=_('Minimum length of question content (number of characters)') + ) +) + +settings.register( livesettings.StringValue( FORUM_DATA_RULES, 'MANDATORY_TAGS', |