summaryrefslogtreecommitdiffstats
path: root/askbot/setup_templates
diff options
context:
space:
mode:
authorEvgeny Fadeev <evgeny.fadeev@gmail.com>2012-11-18 15:19:44 -0300
committerEvgeny Fadeev <evgeny.fadeev@gmail.com>2012-11-18 15:19:44 -0300
commit0dccc47d7d74c8bd180438f5428ac1a9db041558 (patch)
tree653e53165d98fdf605b9bb9fe7a0d471571e3985 /askbot/setup_templates
parent1ef3a39c0a0073311f9ab0f73e26658be8cf8da7 (diff)
downloadaskbot-0dccc47d7d74c8bd180438f5428ac1a9db041558.tar.gz
askbot-0dccc47d7d74c8bd180438f5428ac1a9db041558.tar.bz2
askbot-0dccc47d7d74c8bd180438f5428ac1a9db041558.zip
improved configuration parameters for the group_messaging app
Diffstat (limited to 'askbot/setup_templates')
-rw-r--r--askbot/setup_templates/settings.py.mustache6
1 files changed, 6 insertions, 0 deletions
diff --git a/askbot/setup_templates/settings.py.mustache b/askbot/setup_templates/settings.py.mustache
index 1f3dabd2..d7b455f8 100644
--- a/askbot/setup_templates/settings.py.mustache
+++ b/askbot/setup_templates/settings.py.mustache
@@ -178,6 +178,7 @@ INSTALLED_APPS = (
'djkombu',
'followit',
'tinymce',
+ 'group_messaging',
#'avatar',#experimental use git clone git://github.com/ericflo/django-avatar.git$
)
@@ -279,3 +280,8 @@ TINYMCE_DEFAULT_CONFIG = {
#delayed notifications, time in seconds, 15 mins by default
NOTIFICATION_DELAY_TIME = 60 * 15
+
+GROUP_MESSAGING = {
+ 'BASE_URL_GETTER_FUNCTION': 'askbot.models.user_get_profile_url',
+ 'BASE_URL_PARAMS': {'section': 'messages', 'sort': 'inbox'}
+}