]> git.openstreetmap.org Git - osqa.git/blob - forum/settings/extkeys.py
initial import
[osqa.git] / forum / settings / extkeys.py
1 from base import Setting, SettingSet\r
2 from django.utils.translation import ugettext_lazy as _\r
3 \r
4 EXT_KEYS_SET = SettingSet('extkeys', _('External Keys'), _("Keys for various external providers that your application may optionally use."), 100)\r
5 \r
6 GOOGLE_SITEMAP_CODE = Setting('GOOGLE_SITEMAP_CODE', '', EXT_KEYS_SET, dict(\r
7 label = _("Google sitemap code"),\r
8 help_text = """\r
9 This is the code you get when you register your site at <a href="https://www.google.com/webmasters/tools/">Google webmaster central</a>.\r
10 """,\r
11 required=False))\r
12 \r
13 GOOGLE_ANALYTICS_KEY = Setting('GOOGLE_ANALYTICS_KEY', '', EXT_KEYS_SET, dict(\r
14 label = _("Google analytics key"),\r
15 help_text = """\r
16 Your Google analytics key. You can get one at the <a href="http://www.google.com/analytics/">Google analytics official website</a>\r
17 """,\r
18 required=False))