1 from forum.settings import BADGES_SET
2 from forum.settings.base import Setting
3 from django.utils.translation import ugettext_lazy as _
5 POPULAR_QUESTION_VIEWS = Setting('POPULAR_QUESTION_VIEWS', 1000, BADGES_SET, dict(
6 label = _("Popular Question views"),
8 Number of question views required to award a Popular Question badge to the question author
11 NOTABLE_QUESTION_VIEWS = Setting('NOTABLE_QUESTION_VIEWS', 2500, BADGES_SET, dict(
12 label = _("Notable Question views"),
14 Number of question views required to award a Notable Question badge to the question author
17 FAMOUS_QUESTION_VIEWS = Setting('FAMOUS_QUESTION_VIEWS', 10000, BADGES_SET, dict(
18 label = _("Famous Question views"),
20 Number of question views required to award a Famous Question badge to the question author
23 NICE_ANSWER_VOTES_UP = Setting('NICE_ANSWER_VOTES_UP', 10, BADGES_SET, dict(
24 label = _("Nice Answer up votes"),
26 Number of up votes required to award a Nice Answer badge to the answer author
29 NICE_QUESTION_VOTES_UP = Setting('NICE_QUESTION_VOTES_UP', 10, BADGES_SET, dict(
30 label = _("Nice Question up votes"),
32 Number of up votes required to award a Nice Question badge to the question author
35 GOOD_ANSWER_VOTES_UP = Setting('GOOD_ANSWER_VOTES_UP', 25, BADGES_SET, dict(
36 label = _("Good Answer up votes"),
38 Number of up votes required to award a Good Answer badge to the answer author
41 GOOD_QUESTION_VOTES_UP = Setting('GOOD_QUESTION_VOTES_UP', 25, BADGES_SET, dict(
42 label = _("Good Question up votes"),
44 Number of up votes required to award a Good Question badge to the question author
47 GREAT_ANSWER_VOTES_UP = Setting('GREAT_ANSWER_VOTES_UP', 100, BADGES_SET, dict(
48 label = _("Great Answer up votes"),
50 Number of up votes required to award a Great Answer badge to the answer author
53 GREAT_QUESTION_VOTES_UP = Setting('GREAT_QUESTION_VOTES_UP', 100, BADGES_SET, dict(
54 label = _("Great Question up votes"),
56 Number of up votes required to award a Great Question badge to the question author
59 FAVORITE_QUESTION_FAVS = Setting('FAVORITE_QUESTION_FAVS', 25, BADGES_SET, dict(
60 label = _("Favorite Question favorite count"),
62 How many times a question needs to be favorited by other users to award a Favorite Question badge to the question author
65 STELLAR_QUESTION_FAVS = Setting('STELLAR_QUESTION_FAVS', 100, BADGES_SET, dict(
66 label = _("Stellar Question favorite count"),
68 How many times a question needs to be favorited by other users to award a Stellar Question badge to the question author
71 DISCIPLINED_MIN_SCORE = Setting('DISCIPLINED_MIN_SCORE', 3, BADGES_SET, dict(
72 label = _("Disciplined minimum score"),
74 Minimum score a question needs to have to award the Disciplined badge to an author of a question who deletes it.
77 PEER_PRESSURE_MAX_SCORE = Setting('PEER_PRESSURE_MAX_SCORE', -3, BADGES_SET, dict(
78 label = _("Peer Pressure maximum score"),
80 Maximum score a question needs to have to award the Peer Pressure badge to an author of a question who deletes it.
83 CIVIC_DUTY_VOTES = Setting('CIVIC_DUTY_VOTES', 300, BADGES_SET, dict(
84 label = _("Civic Duty votes"),
86 Number of votes an user needs to cast to be awarded the Civic Duty badge.
89 PUNDIT_COMMENT_COUNT = Setting('PUNDIT_COMMENT_COUNT', 10, BADGES_SET, dict(
90 label = _("Pundit number of comments"),
92 Number of comments an user needs to post to be awarded the Pundit badge.
95 SELF_LEARNER_UP_VOTES = Setting('SELF_LEARNER_UP_VOTES', 3, BADGES_SET, dict(
96 label = _("Self Learner up votes"),
98 Number of up votes an answer from the question author needs to have for the author to be awarded the Self Learner badge.
101 STRUNK_AND_WHITE_EDITS = Setting('STRUNK_AND_WHITE_EDITS', 100, BADGES_SET, dict(
102 label = _("Strunk and White updates"),
104 Number of question or answer updates an user needs to make to be awarded the Strunk & White badge.
107 ENLIGHTENED_UP_VOTES = Setting('ENLIGHTENED_UP_VOTES', 10, BADGES_SET, dict(
108 label = _("Enlightened up votes"),
110 Number of up votes an accepted answer needs to have for the author to be awarded the Enlightened badge.
113 GURU_UP_VOTES = Setting('GURU_UP_VOTES', 40, BADGES_SET, dict(
114 label = _("Guru up votes"),
116 Number of up votes an accepted answer needs to have for the author to be awarded the Guru badge.
119 NECROMANCER_UP_VOTES = Setting('NECROMANCER_UP_VOTES', 5, BADGES_SET, dict(
120 label = _("Necromancer up votes"),
122 Number of up votes an answer needs to have for the author to be awarded the Necromancer badge.
125 NECROMANCER_DIF_DAYS = Setting('NECROMANCER_DIF_DAYS', 60, BADGES_SET, dict(
126 label = _("Necromancer difference in days"),
128 Difference in days betwen the posted date of a question and an answer for the answer author to be awarded the Necromancer badge.
131 TAXONOMIST_USE_COUNT = Setting('TAXONOMIST_USE_COUNT', 50, BADGES_SET, dict(
132 label = _("Taxonomist usage count"),
134 How many usages a tag needs to have for the tag creator to be awarded the Taxonomist badge.