]> git.openstreetmap.org Git - osqa.git/blob - forum_modules/updater/settings.py
the urls in the bulk management view in the administration should pass through smart_...
[osqa.git] / forum_modules / updater / settings.py
1 import datetime
2
3 from forum.settings.base import Setting, SettingSet
4 from django.utils.translation import ugettext_lazy as _
5
6 from base import generate_installation_key
7
8 UPDATER_SET = SettingSet('updater', _('Updater Settings'), _("OSQA Update Checker Settings."), 100)
9
10 CHECK_FOR_UPDATES = Setting('CHECK_FOR_UPDATES', True, UPDATER_SET, dict(
11 label = "Check for updates",
12 help_text = _("""
13 Use the OSQA update server recieve notifications about the latest updates.
14 """),
15 required=False))
16
17 SITE_KEY = Setting('SITE_KEY', generate_installation_key())
18
19 UPDATE_MESSAGES_XML = Setting('UPDATE_MESSAGES_XML', '')
20
21 LATEST_UPDATE_DATETIME = Setting('LATEST_UPDATES_DATETIME', datetime.datetime.now())
22
23 # Update server. Do not edit.
24 UPDATE_SERVER_URL = 'http://192.168.0.102:8008'