Gitlab CSE Unil

staging.py 526 Bytes
Newer Older
Julien Furrer's avatar
Julien Furrer committed
1
2
3
4
5
6
7
8
"""
Settings for staging server
"""
from .base import *

DEBUG = True
TEMPLATE_DEBUG = TEMPLATES[0]['OPTIONS']['debug'] = True

Julien Furrer's avatar
Julien Furrer committed
9
update_urls('/adim-dev/', __name__)
Julien Furrer's avatar
Julien Furrer committed
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26

ALLOWED_HOSTS = ['.unil.ch']

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

SENDFILE_BACKEND = 'sendfile.backends.development'

ADIM_PROD = False
ADIM_DEBUG_JS = True