diff options
author | Evgeny Fadeev <evgeny.fadeev@gmail.com> | 2010-05-15 00:11:21 -0400 |
---|---|---|
committer | Evgeny Fadeev <evgeny.fadeev@gmail.com> | 2010-05-15 00:11:21 -0400 |
commit | 7a7c938c785aa91d9106a4ce1ddd50da8bd66951 (patch) | |
tree | cba91b3a83faf76acbc8eb76d7e4c6080872f23d /forum/context.py | |
parent | cb66aae356058e6afa292d8b7951fb5614c680ac (diff) | |
download | askbot-7a7c938c785aa91d9106a4ce1ddd50da8bd66951.tar.gz askbot-7a7c938c785aa91d9106a4ce1ddd50da8bd66951.tar.bz2 askbot-7a7c938c785aa91d9106a4ce1ddd50da8bd66951.zip |
added real rep numbers to the faq page
Diffstat (limited to 'forum/context.py')
-rw-r--r-- | forum/context.py | 22 |
1 files changed, 3 insertions, 19 deletions
diff --git a/forum/context.py b/forum/context.py index 47fb43f2..a5801302 100644 --- a/forum/context.py +++ b/forum/context.py @@ -1,25 +1,9 @@ from django.conf import settings from forum.conf import settings as forum_settings def application_settings(context): - my_settings = { - 'WIKI_ON':forum_settings.WIKI_ON, - 'APP_TITLE' : forum_settings.APP_TITLE, - 'APP_URL' : forum_settings.APP_URL, - 'APP_KEYWORDS' : forum_settings.APP_KEYWORDS, - 'APP_DESCRIPTION': forum_settings.APP_DESCRIPTION, - 'APP_COPYRIGHT': forum_settings.APP_COPYRIGHT, - 'FEEDBACK_SITE_URL': forum_settings.FEEDBACK_SITE_URL, - 'FORUM_ABOUT': forum_settings.FORUM_ABOUT, - 'FORUM_PRIVACY': forum_settings.FORUM_PRIVACY, - 'GOOGLE_SITEMAP_CODE':forum_settings.GOOGLE_SITEMAP_CODE, - 'GOOGLE_ANALYTICS_KEY':forum_settings.GOOGLE_ANALYTICS_KEY, - 'EMAIL_VALIDATION': forum_settings.EMAIL_VALIDATION, - 'RESOURCE_REVISION':forum_settings.MEDIA_RESOURCE_REVISION, - 'ASKBOT_SKIN':forum_settings.ASKBOT_DEFAULT_SKIN, - 'EDITABLE_SCREEN_NAME':forum_settings.EDITABLE_SCREEN_NAME, - 'FORUM_SCRIPT_ALIAS': settings.FORUM_SCRIPT_ALIAS, - 'LANGUAGE_CODE': settings.LANGUAGE_CODE, - } + my_settings = forum_settings.as_dict() + my_settings['LANGUAGE_CODE'] = settings.LANGUAGE_CODE + my_settings['FORUM_SCRIPT_ALIAS'] = settings.FORUM_SCRIPT_ALIAS return {'settings':my_settings} def auth_processor(request): |