Gitlab CSE Unil

production.py 402 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
"""
Settings for production server
"""
from .base import *


update_urls('/adim/', __name__)

ALLOWED_HOSTS = ['.unil.ch']

DATABASES = {
    'default': {
        'ENGINE': 'django.db.backends.mysql',
        'NAME': 'adim_dev',
        'USER': 'adim',
        'PASSWORD': 'ioue634jrs8asdfd0hewq876iujkh9877iuzhiuhg9875kb',
        'HOST': 'localhost',
    },
}

ADIM_PROD = True
ADIM_DEBUG_JS = False