X-Git-Url: http://git.cyclocoop.org/?p=cavote.git;a=blobdiff_plain;f=settings.py.example;h=ad74b41586f76fd4f9ff5bedf08facb04e44a130;hp=bdbc83dfb587a6fd09cbf4c2d95336107f6b1667;hb=HEAD;hpb=61a11c1aae7ed1ded0116b2e1e1fe3323ab7db6b diff --git a/settings.py.example b/settings.py.example index bdbc83d..ad74b41 100644 --- a/settings.py.example +++ b/settings.py.example @@ -5,31 +5,32 @@ DATABASE = '/tmp/cavote.db' PASSWD_SALT = 'change this value to some random chars!' SECRET_KEY = '{J@uRKO,xO-PK7B,jF?>iHbxLasF9s#zjOoy=+:' DEBUG = True +CAN_DELETE_VOTES = False TITLE = u"Cavote" EMAIL = '"' + TITLE + '"' + ' <' + u"contact+cavote@localhost.localdomain" + '>' VERSION = "cavote 0.4.0" SMTP_SERVER = "127.0.0.1" PATTERNS = \ - { u'Oui/Non': [u'Oui', u'Non'] \ + { u'Validation': [u'Validation'] \ } CARDINALS = \ - [ (u'Sans moi/Avec moi' - , 0, [u'±0 (Sans moi)', u'+1 (Avec moi)']) \ + [ (u'Hostile et sans moi/Hostile mais avec moi/Indifférent/Favorable mais sans moi/Favorable et avec moi' + , -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)']) \ , (u'Hostile/Indifférent/Favorable' , -1, [u'-1 (Hostile)', u'±0 (Indifférent)', u'+1 (Favorable)']) \ - , (u'Très Hostile/Hostile/Indifférent/Favorable/Très Favorable' - , -2, [u'-2 (Très Hostile)', u'-1 (Hostile)', u'±0 (Indifférent)', u'+1 (Favorable)', u'+2 (Très Favorable)']) \ + , (u'Sans moi/Avec moi' + , 0, [u'±0 (Sans moi)', u'+1 (Avec moi)']) \ ] QUORUMS = \ - [ 0 - , 0.1 - , 0.25 - , 0.333 - , 0.5 - , 0.666 - , 0.75 + [ 1 , 0.9 - , 1 + , 0.75 + , 0.666 + , 0.5 + , 0.333 + , 0.25 + , 0.1 + , 0 ] BABEL_DEFAULT_LOCALE = 'fr' BABEL_DEFAULT_TIMEZONE = 'Europe/Paris'