local_settings.py 601 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
"""
Memopol local settings example.
Edit and rename to local_settings.py to use.
"""

import os
from socket import gethostname


DATA_DIR = 'data'
LOG_DIR = 'log'
PUBLIC_DIR = 'wsgi/static'


DATABASES = {
    'default': {
17
        'NAME': os.environ.get('CI_BUILD_REF_NAME'),
18
19
20
        'USER': 'memopol_test',
        'PASSWORD': 'memopol_test',
        'HOST': 'localhost',
21
        'PORT': '5433',
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
        'ENGINE': 'django.db.backends.postgresql_psycopg2',
    }
}


ALLOWED_HOSTS = [
    gethostname(),
]


SITE_ID = 1
SITE_NAME = 'Memopol'
SITE_DOMAIN = gethostname()

ORGANIZATION_NAME = 'Memopol'