bdbc83dfb587a6fd09cbf4c2d95336107f6b1667
[cavote.git] / settings.py.example
1 #!/usr/bin/env python
2 # -*- coding: utf-8 -*-
3
4 DATABASE = '/tmp/cavote.db'
5 PASSWD_SALT = 'change this value to some random chars!'
6 SECRET_KEY = '{J@uRKO,xO-PK7B,jF?>iHbxLasF9s#zjOoy=+:'
7 DEBUG = True
8 TITLE = u"Cavote"
9 EMAIL = '"' + TITLE + '"' + ' <' + u"contact+cavote@localhost.localdomain" + '>'
10 VERSION = "cavote 0.4.0"
11 SMTP_SERVER = "127.0.0.1"
12 PATTERNS = \
13 { u'Oui/Non': [u'Oui', u'Non'] \
14 }
15 CARDINALS = \
16 [ (u'Sans moi/Avec moi'
17 , 0, [u'±0 (Sans moi)', u'+1 (Avec moi)']) \
18 , (u'Hostile/Indifférent/Favorable'
19 , -1, [u'-1 (Hostile)', u'±0 (Indifférent)', u'+1 (Favorable)']) \
20 , (u'Très Hostile/Hostile/Indifférent/Favorable/Très Favorable'
21 , -2, [u'-2 (Très Hostile)', u'-1 (Hostile)', u'±0 (Indifférent)', u'+1 (Favorable)', u'+2 (Très Favorable)']) \
22 ]
23 QUORUMS = \
24 [ 0
25 , 0.1
26 , 0.25
27 , 0.333
28 , 0.5
29 , 0.666
30 , 0.75
31 , 0.9
32 , 1
33 ]
34 BABEL_DEFAULT_LOCALE = 'fr'
35 BABEL_DEFAULT_TIMEZONE = 'Europe/Paris'
36 VOTE_URL = "http://localhost:5000/vote/%d"