From bd8ed9ee60f805f234d83d5b02fd9613a5b52b7b Mon Sep 17 00:00:00 2001 From: jordan Date: Fri, 13 May 2011 21:12:43 +0000 Subject: [PATCH] send the app title and app description on check git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1037 0cfe37f9-358a-4d5e-be75-b63607b5c754 --- forum_modules/updater/base.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/forum_modules/updater/base.py b/forum_modules/updater/base.py index 3852028..3ccf97d 100644 --- a/forum_modules/updater/base.py +++ b/forum_modules/updater/base.py @@ -14,9 +14,10 @@ import logging from xml.dom.minidom import parse, parseString from forum.models import Question, User -from forum.settings import APP_URL, SVN_REVISION +from forum.settings import APP_URL, SVN_REVISION, APP_TITLE, APP_DESCRIPTION from django import VERSION as DJANGO_VERSION from django.utils import simplejson +from django.utils.html import escape from django.utils.encoding import smart_unicode from django.conf import settings as django_settings from django.utils.translation import ugettext as _ @@ -90,6 +91,8 @@ def check_for_updates(): statistics = """ + + @@ -102,6 +105,8 @@ def check_for_updates(): """ % { 'site_key' : settings.SITE_KEY, 'app_url' : APP_URL, + 'app_title' : escape(APP_TITLE.value), + 'app_description' : escape(APP_DESCRIPTION.value), 'svn_revision' : svn_revision, 'site_views' : get_site_views(), 'server_name' : get_server_name(), -- 2.39.5