]> git.openstreetmap.org Git - osqa.git/blob - forum_modules/robotstxt/settings.py
initial import
[osqa.git] / forum_modules / robotstxt / settings.py
1 from forum.settings.base import Setting, SettingSet
2 from django.forms.widgets import Textarea
3
4 ROBOTS_SET = SettingSet('robots', 'Robots txt', "Set up the robots.txt file.", 3000)
5
6 ROBOTS_FILE = Setting('ROBOTS_FILE',
7 """
8 User-Agent: *
9 Disallow: /accounts/
10 Disallow: /users/
11 """, ROBOTS_SET, dict(
12 label = "Robots.txt file",
13 help_text = """
14 The robots.txt file search engine spiders will see.
15 """,
16 widget=Textarea(attrs={'rows': '20'})))