]> git.openstreetmap.org Git - osqa.git/blob - forum/settings/sitemaps.py
Fix in query cache
[osqa.git] / forum / settings / sitemaps.py
1 from base import Setting, SettingSet
2 from django.forms.widgets import Textarea, RadioSelect, Select
3 from django.utils.translation import ugettext_lazy as _
4
5 SITEMAP_SET = SettingSet('sitemap', _('Sitemap settings'), _("Some settings connected with the Sitemaps."), 2000)
6
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.")))
10
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.")))