1 from base import Setting, SettingSet
2 from django.forms.widgets import Textarea, RadioSelect, Select
3 from django.utils.translation import ugettext_lazy as _
5 SITEMAP_SET = SettingSet('sitemap', _('Sitemap settings'), _("Some settings connected with the Sitemaps."), 2000)
7 QUESTIONS_SITEMAP_LIMIT = Setting('QUESTIONS_SITEMAP_LIMIT', 2500, SITEMAP_SET, dict(
8 label = _("Questions Sitemap Limit"),
9 help_text = _("The questions limit per page for the Questions Sitemap.")))
11 QUESTIONS_SITEMAP_CHANGEFREQ = Setting('QUESTIONS_SITEMAP_CHANGEFREQ', 'daily', SITEMAP_SET, dict(
12 label = _("Questions Sitemap Change Fraquence"),
13 help_text = _("Used in the Questions Sitemap <changefreq> tag and specifies the content change frequency.")))