X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/4128d661e981e887019a448762c6b912de5efb6b..dcacc3b4c2ba2f550806a2d22b183f6fac4f63ff:/forum/settings/extkeys.py diff --git a/forum/settings/extkeys.py b/forum/settings/extkeys.py index 16afd7c..11b43e3 100644 --- a/forum/settings/extkeys.py +++ b/forum/settings/extkeys.py @@ -1,19 +1,15 @@ -from base import Setting, SettingSet -from django.utils.translation import ugettext_lazy as _ - -EXT_KEYS_SET = SettingSet('extkeys', _('External Keys'), _("Keys for various external providers that your application may optionally use."), 100) - -GOOGLE_SITEMAP_CODE = Setting('GOOGLE_SITEMAP_CODE', '', EXT_KEYS_SET, dict( -label = _("Google sitemap code"), -help_text = _("This is the code you get when you register your site at Google webmaster central."), -required=False)) - -GOOGLE_ANALYTICS_KEY = Setting('GOOGLE_ANALYTICS_KEY', '', EXT_KEYS_SET, dict( -label = _("Google analytics key"), -help_text = _("Your Google analytics key. You can get one at the Google analytics official website"), -required=False)) - -WORDPRESS_API_KEY = Setting('WORDPRESS_API_KEY', '', EXT_KEYS_SET, dict( -label = _("Wordpress API key"), -help_text = _("Your Wordpress API key. You can get one at http://wordpress.com/"), -required=False)) +from base import Setting, SettingSet +from django.utils.translation import ugettext_lazy as _ + +EXT_KEYS_SET = SettingSet('extkeys', _('External Keys'), _("Keys for various external providers that your application may optionally use."), 100) + +GOOGLE_SITEMAP_CODE = Setting('GOOGLE_SITEMAP_CODE', '', EXT_KEYS_SET, dict( +label = _("Google sitemap code"), +help_text = _("This is the code you get when you register your site at Google webmaster central."), +required=False)) + +GOOGLE_ANALYTICS_KEY = Setting('GOOGLE_ANALYTICS_KEY', '', EXT_KEYS_SET, dict( +label = _("Google analytics key"), +help_text = _("Your Google analytics key. You can get one at the Google analytics official website"), +required=False)) +