X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/b41d891b467b1fed5a0cb8a6d2a42388a0f12fd5..b03fbe3fb080bdcec16778e981c61c67ec7e3bac:/forum/settings/form.py?ds=sidebyside diff --git a/forum/settings/form.py b/forum/settings/form.py index 0637c13..5f770b3 100644 --- a/forum/settings/form.py +++ b/forum/settings/form.py @@ -9,6 +9,11 @@ label = _("Enable community wiki"), help_text = _("Can questions or answers be marked as community wiki."), required=False)) +LIMIT_TAG_CREATION = Setting('LIMIT_TAG_CREATION', False, FORUM_SET, dict( +label = _("Limit tag creation"), +help_text = _("Limit tag creation to super users, staff or users with a minimum reputation."), +required=False)) + """ settings for questions """ FORM_MIN_QUESTION_TITLE = Setting('FORM_MIN_QUESTION_TITLE', 10, FORUM_SET, dict( @@ -76,4 +81,7 @@ required=False)) FORM_GRAVATAR_IN_COMMENTS = Setting('FORM_GRAVATAR_IN_COMMENTS', False, FORUM_SET, dict( label = _("Show author gravatar in comments"), help_text = _("Show the gravatar image of a comment author."), -required=False)) \ No newline at end of file +required=False)) + + +