]> WPIA git - motion.git/blobdiff - config.py.example
Merge branch 'admin_cleanup' into 'master'
[motion.git] / config.py.example
index f15a40014012550e9469d18c685e83d26c3b1ca1..e56352d876f4cbbea6174887060cb02cb7cb0ad6 100644 (file)
@@ -1,8 +1,27 @@
-DATABASE="..."
+DATABASE="pg://dbserver/db"
 USER="..."
 PASSWORD="..."
 
+# Footer data: remove # at beginning of lines and adjust if needed
+#COPYRIGHTSTART="2017"
+#COPYRIGHTNAME="WPIA"
+#COPYRIGHTLINK="https://wpia.club"
+#IMPRINTLINK="https://documents.wpia.club/imprint.html"
+#DATAPROTECTIONLINK="https://documents.wpia.club/data_privacy_policy_html_pages_en.html"
+
 DEFAULT_HOST="hostname for migration from db version < 2"
 
-groups=["group1", "group1"] # kinds of motion
-group_prefix={"group1": "g1", "group2": "g2"} # prefixes for motion identifiers
+GROUP_PREFIX={'hostname': {'group1': 'g1', 'group2': 'g2'}} # motion types and their id-prefixes
+
+MAX_PROXY=2  # user is allowed to hold up to MAX_PROXY votes
+
+MOTION_WAIT_MINUTES={'hostname':'1'}  # timespan between the entering of two motions
+
+DURATION={'hostname':[3, 7, 14]} # duration period for motions
+
+#DEBUGUSER={'hostname':'username/create:* vote:*'} # remove # at beginning of line to use local debuguser
+
+LANGUAGES = {
+    'en': 'English',
+    'de': 'Deutsch'
+}