]> git.openstreetmap.org Git - osqa.git/blob - forum/settings/about.py
Fix in query cache
[osqa.git] / forum / settings / about.py
1 from base import Setting, SettingSet
2 from django.forms.widgets import Textarea
3
4 PAGES_SET = SettingSet('about', 'About page', "Define the text in the about page. You can use markdown and some basic html tags.", 2000, True)
5
6 ABOUT_PAGE_TEXT = Setting('ABOUT_PAGE_TEXT',
7 u"""
8 **Please customize this text in the administration area**
9
10 Here you can **ask** and **answer** questions, **comment**
11 and **vote** for the questions of others and their answers. Both questions and answers
12 **can be revised** and improved. Questions can be **tagged** with
13 the relevant keywords to simplify future access and organize the accumulated material.
14
15 This <span class="orange">Q&amp;A</span> site is moderated by its members, hopefully - including yourself!
16 Moderation rights are gradually assigned to the site users based on the accumulated "**karma**"
17 points. These points are added to the users account when others vote for his/her questions or answers.
18 These points (very) roughly reflect the level of trust of the community.
19
20 No points are necessary to ask or answer the questions - so please - join us!
21
22 If you would like to find out more about this site - please see the **frequently asked questions** page.
23 """, PAGES_SET, dict(
24 label = "About page text",
25 help_text = """
26 The about page.
27 """,
28 widget=Textarea(attrs={'rows': '20'})))