diff options
author | Evgeny Fadeev <evgeny.fadeev@gmail.com> | 2012-03-27 07:38:32 -0400 |
---|---|---|
committer | Evgeny Fadeev <evgeny.fadeev@gmail.com> | 2012-03-27 07:38:32 -0400 |
commit | 5a94795719835aede0c698c4468a61043ad681ae (patch) | |
tree | 730586c7ee02330f7a112118a42b3f44d00d31eb /askbot/const/__init__.py | |
parent | 371c6847b7225d829b3540532c054f7d4db7383a (diff) | |
download | askbot-5a94795719835aede0c698c4468a61043ad681ae.tar.gz askbot-5a94795719835aede0c698c4468a61043ad681ae.tar.bz2 askbot-5a94795719835aede0c698c4468a61043ad681ae.zip |
user group descriptions are editable, but the WMD still does not want to show buttons
Diffstat (limited to 'askbot/const/__init__.py')
-rw-r--r-- | askbot/const/__init__.py | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/askbot/const/__init__.py b/askbot/const/__init__.py index 3fb9ddbb..4bb62f45 100644 --- a/askbot/const/__init__.py +++ b/askbot/const/__init__.py @@ -52,6 +52,8 @@ POST_SORT_METHODS = ( ('relevance-desc', _('relevance')), ) +POST_TYPES = ('answer', 'comment', 'question', 'tag_wiki') + REPLY_SEPARATOR_TEMPLATE = '==== %(user_action)s %(instruction)s -=-==' REPLY_SEPARATOR_REGEX = re.compile('==== .* -=-==', re.MULTILINE) @@ -121,6 +123,8 @@ TYPE_ACTIVITY_EMAIL_UPDATE_SENT = 18 TYPE_ACTIVITY_MENTION = 19 TYPE_ACTIVITY_UNANSWERED_REMINDER_SENT = 20 TYPE_ACTIVITY_ACCEPT_ANSWER_REMINDER_SENT = 21 +TYPE_ACTIVITY_CREATE_TAG_WIKI = 22 +TYPE_ACTIVITY_UPDATE_TAG_WIKI = 23 #TYPE_ACTIVITY_EDIT_QUESTION = 17 #TYPE_ACTIVITY_EDIT_ANSWER = 18 @@ -153,6 +157,14 @@ TYPE_ACTIVITY = ( _('reminder about accepting the best answer sent'), ), (TYPE_ACTIVITY_MENTION, _('mentioned in the post')), + ( + TYPE_ACTIVITY_CREATE_TAG_WIKI, + _('created tag description'), + ), + ( + TYPE_ACTIVITY_UPDATE_TAG_WIKI, + _('updated tag description') + ) ) |