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 UPDATER_SET = SettingSet('updater', _('Updater Settings'), _("OSQA Update Checker Settings."), 100)
10 CHECK_FOR_UPDATES = Setting('CHECK_FOR_UPDATES', True, UPDATER_SET, dict(
11 label = "Check for updates",
13 Use the OSQA update 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 = 'http://192.168.0.102:8008'