]> git.openstreetmap.org Git - osqa.git/blob - forum/settings/extkeys.py
9d439df0b7ba5939d391a0da7cccea6cfa6a6e54
[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 = _("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
9 required=False))\r
10 \r
11 GOOGLE_ANALYTICS_KEY = Setting('GOOGLE_ANALYTICS_KEY', '', EXT_KEYS_SET, dict(\r
12 label = _("Google analytics key"),\r
13 help_text = _("Your Google analytics key. You can get one at the <a href='http://www.google.com/analytics/'>Google analytics official website</a>"),\r
14 required=False))\r
15 \r