Gitlab CSE Unil

production.py 466 Bytes
Newer Older
1
2
3
4
5
6
"""
Settings for production server
"""
from .base import *


7
update_urls('/adim', __name__)
8
9
10

ALLOWED_HOSTS = ['.unil.ch']

Julien Furrer's avatar
Julien Furrer committed
11
12
WSGI_APPLICATION = '%s.wsgi.production.application' % SITE_NAME

13
14
15
16
17
18
19
20
21
22
23
24
DATABASES = {
    'default': {
        'ENGINE': 'django.db.backends.mysql',
        'NAME': 'adim_dev',
        'USER': 'adim',
        'PASSWORD': 'ioue634jrs8asdfd0hewq876iujkh9877iuzhiuhg9875kb',
        'HOST': 'localhost',
    },
}

ADIM_PROD = True
ADIM_DEBUG_JS = False