Commit fb7df37a authored by Arnaud Delcasse's avatar Arnaud Delcasse

Separate configuration

parent 7aefe4bd
......@@ -15,15 +15,7 @@ import hashlib
import smtplib
import string
DATABASE = '/tmp/cavote.db'
PASSWD_SALT = 'change this value to some random chars!'
SECRET_KEY = '{J@uRKO,xO-PK7B,jF?>iHbxLasF9s#zjOoy=+:'
DEBUG = True
TITLE = u"Cavote FFDN"
EMAIL = '"' + TITLE + '"' + ' <' + u"cavote@ffdn.org" + '>'
VERSION = "cavote 0.1.1"
SMTP_SERVER = "127.0.0.1"
PATTERNS = {u'Oui/Non': [u'Oui', u'Non'], u'Oui/Non/Blanc': [u'Oui', u'Non', u'Blanc'], u'Oui/Non/Peut-être': [u'Oui', u'Non', u'Peut-être']}
from settings import *
app = Flask(__name__)
app.config.from_object(__name__)
......
#!/usr/bin/env python
# -*- coding: utf-8 -*-
DATABASE = '/tmp/cavote.db'
PASSWD_SALT = 'change this value to some random chars!'
SECRET_KEY = '{J@uRKO,xO-PK7B,jF?>iHbxLasF9s#zjOoy=+:'
DEBUG = True
TITLE = u"Cavote FFDN"
EMAIL = '"' + TITLE + '"' + ' <' + u"cavote@ffdn.org" + '>'
VERSION = "cavote 0.1.1"
SMTP_SERVER = "127.0.0.1"
PATTERNS = {u'Oui/Non': [u'Oui', u'Non'], u'Oui/Non/Blanc': [u'Oui', u'Non', u'Blanc'], u'Oui/Non/Peut-être': [u'Oui', u'Non', u'Peut-être']}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment