]> git.openstreetmap.org Git - osqa.git/blobdiff - osqa/forum/settings/voting.py
removing extra osqa directory
[osqa.git] / osqa / forum / settings / voting.py
diff --git a/osqa/forum/settings/voting.py b/osqa/forum/settings/voting.py
deleted file mode 100644 (file)
index 8a2854c..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-from base import Setting, SettingSet\r
-from django.utils.translation import ugettext_lazy as _\r
-\r
-VOTE_RULES_SET = SettingSet('voting', _('Voting rules'), _("Configure the voting rules on your site."), 400)\r
-\r
-MAX_VOTES_PER_DAY = Setting('MAX_VOTES_PER_DAY', 30, VOTE_RULES_SET, dict(\r
-label = _("Maximum votes per day"),\r
-help_text = _("""\r
-The maximum number of votes an user can cast per day.\r
-""")))\r
-\r
-START_WARN_VOTES_LEFT = Setting('START_WARN_VOTES_LEFT', 10, VOTE_RULES_SET, dict(\r
-label = _("Start warning about votes left"),\r
-help_text = _("""\r
-From how many votes left should an user start to be warned about it.\r
-""")))\r
-\r
-MAX_FLAGS_PER_DAY = Setting('MAX_FLAGS_PER_DAY', 5, VOTE_RULES_SET, dict(\r
-label = _("Maximum flags per day"),\r
-help_text = _("""\r
-The maximum number of times an can flag a post per day.\r
-""")))\r
-\r
-FLAG_COUNT_TO_HIDE_POST = Setting('FLAG_COUNT_TO_HIDE_POST', 3, VOTE_RULES_SET, dict(\r
-label = _("Flag count to hide post"),\r
-help_text = _("""\r
-How many times a post needs to be flagged to be hidden from the main page.\r
-""")))\r
-\r
-FLAG_COUNT_TO_DELETE_POST = Setting('FLAG_COUNT_TO_DELETE_POST', 5, VOTE_RULES_SET, dict(\r
-label = _("Flag count to delete post"),\r
-help_text = _("""\r
-How many times a post needs to be flagged to be deleted.\r
-""")))\r
-\r
-DENY_UNVOTE_DAYS = Setting('DENY_UNVOTE_DAYS', 1, VOTE_RULES_SET, dict(\r
-label = _("Days to cancel a vote"),\r
-help_text = _("""\r
-How many days an user can cancel a vote after he originaly casted it.\r
-""")))
\ No newline at end of file