3 from forum.settings.base import Setting, SettingSet
4 from django.utils.translation import ugettext_lazy as _
6 from base import generate_installation_key
8 STATS_SET = SettingSet('stats', _('Stats Settings'), _("OSQA Stats Settings."), 100)
10 CHECK_FOR_UPDATES = Setting('CHECK_FOR_UPDATES', True, STATS_SET, dict(
11 label = "Check for updates",
13 Use the OSQA stats server recieve notifications about the latest updates.
17 SITE_KEY = Setting('SITE_KEY', generate_installation_key())
19 UPDATE_MESSAGES_XML = Setting('UPDATE_MESSAGES_XML', '')
21 LATEST_UPDATE_DATETIME = Setting('LATEST_UPDATES_DATETIME', datetime.datetime.now())
23 # Update server. Do not edit.
24 UPDATE_SERVER_URL = 'https://updater.osqa.net'