]> git.openstreetmap.org Git - osqa.git/blob - forum_modules/robotstxt/settings.py
removed semi-useless assignment of request.user to user
[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 Disallow: /revisions/
12 """, ROBOTS_SET, dict(
13 label = "Robots.txt file",
14 help_text = """
15 The robots.txt file search engine spiders will see.
16 """,
17 widget=Textarea(attrs={'rows': '20'})))