fix after pybabel compile
[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 CAN_DELETE_VOTES = False
9 TITLE = u"Cavote"
10 EMAIL = '"' + TITLE + '"' + ' <' + u"contact+cavote@localhost.localdomain" + '>'
11 VERSION = "cavote 0.4.0"
12 SMTP_SERVER = "127.0.0.1"
13 PATTERNS = \
14 { u'Validation': [u'Validation'] \
15 }
16 CARDINALS = \
17 [ (u'Hostile et sans moi/Hostile mais avec moi/Indifférent/Favorable mais sans moi/Favorable et avec moi'
18 , -2, [u'-2 (Hostile et sans moi)', u'-1 (Hostile mais avec moi)', u'±0 (Indifférent)', u'+1 (Favorable mais sans moi)', u'+2 (Favorable et avec moi)']) \
19 , (u'Hostile/Indifférent/Favorable'
20 , -1, [u'-1 (Hostile)', u'±0 (Indifférent)', u'+1 (Favorable)']) \
21 , (u'Sans moi/Avec moi'
22 , 0, [u'±0 (Sans moi)', u'+1 (Avec moi)']) \
23 ]
24 QUORUMS = \
25 [ 1
26 , 0.9
27 , 0.75
28 , 0.666
29 , 0.5
30 , 0.333
31 , 0.25
32 , 0.1
33 , 0
34 ]
35 BABEL_DEFAULT_LOCALE = 'fr'
36 BABEL_DEFAULT_TIMEZONE = 'Europe/Paris'
37 VOTE_URL = "http://localhost:5000/vote/%d"