settings_secret_example.py 1007 Bytes
Newer Older
Administrator committed
1 2 3
"""Secret data for DB connexion ."""

ODOO = {
4
    'url': 'http://odoo:8069',
Administrator committed
5
    'user': 'api',
6
    'passwd': 'foodcoops',
7
    'db': 'foodcoops',
Administrator committed
8 9 10
}

COUCHDB = {
11
    'private_url': 'http://couchdb:5984',
12
    'url': 'http://127.0.0.1:5984',
13 14 15 16 17
    'admin': {
        'url': 'http://%s:%s@couchdb:5984',
        'user': 'admin',
        'password': '123abc',
    },
Administrator committed
18 19 20 21
    'dbs': {
              'member': 'coops',
              'inventory': 'inventory',
              'envelops': 'envelop',
22
              'shop': 'shopping_carts',
23 24
              'orders': 'orders_test',
              'reception': 'reception_test',
Administrator committed
25 26 27
            }
}

28
""" To ignore """
Administrator committed
29 30 31 32 33 34 35 36 37 38 39 40 41 42
SQL_OFF = {
             'db': 'open_food_facts',
             'user': 'off_user',
             'pwd': 'xxxxxxxx'
          }

EMAIL_HOST = 'mail.proxy'
EMAIL_HOST_USER = 'nepasrepondre@mydomain.ext'
EMAIL_HOST_PASSWORD = 'xxxxx'
EMAIL_PORT = 587
EMAIL_USE_TLS = True
DEFAULT_FROM_EMAIL = 'nepasrepondre@mydomain.ext'

ADMINS = [('myname', 'django@mydomain.ext')]