]> git.openstreetmap.org Git - osqa.git/blobdiff - forum/settings/users.py
Resolves Jira OSQA-359, adding an option to allow negative user reputation in the...
[osqa.git] / forum / settings / users.py
index 3d7a9f324888c24475dab5038317a09b1a757f17..7bc58eccad87a93162953716264f213a472a8af8 100644 (file)
@@ -6,6 +6,11 @@ from django.utils.translation import ugettext as _
 
 USERS_SET = SettingSet('users', _('Users settings'), _("General settings for the OSQA users."), 20)
 
+ALLOW_NEGATIVE_REPUTATION = Setting('ALLOW_NEGATIVE_REPUTATION', True, USERS_SET, dict(
+label = _("Allow negative reputation"),
+help_text = _("Check if you want to allow negative user reputations in the community."),
+required=False))
+
 STORE_GREETING_IN_COOKIE = Setting('STORE_GREETING_IN_COOKIE', True, USERS_SET, dict(
 label = _("Store greeting in cookie"),
 help_text = _("If you check this the greeting will be stored in a cookie and the users won't be notified on logout."),