summaryrefslogtreecommitdiffstats
path: root/askbot/deps
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/deps
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/deps')
-rw-r--r--askbot/deps/group_messaging/models.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/askbot/deps/group_messaging/models.py b/askbot/deps/group_messaging/models.py
index 5d43baf8..4442170f 100644
--- a/askbot/deps/group_messaging/models.py
+++ b/askbot/deps/group_messaging/models.py
@@ -333,13 +333,13 @@ class Message(models.Model):
"""returns absolute url to the thread"""
assert(user != None)
settings = django_settings.GROUP_MESSAGING
- func_path = settings['base_url_getter_function']
+ func_path = settings['BASE_URL_GETTER_FUNCTION']
path_bits = func_path.split('.')
url_getter = getattr(
import_module('.'.join(path_bits[:-1])),
path_bits[-1]
)
- params = copy.copy(settings['base_url_params'])
+ params = copy.copy(settings['BASE_URL_PARAMS'])
params['thread_id'] = self.id
url = url_getter(user) + '?' + urllib.urlencode(params)
#if include_domain_name: #don't need this b/c