Gitlab CSE Unil

staging.py 536 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

9
update_urls('/adim-dev', __name__)
Julien Furrer's avatar
Julien Furrer committed
10
11
12

ALLOWED_HOSTS = ['.unil.ch']

Julien Furrer's avatar
Julien Furrer committed
13
14
WSGI_APPLICATION = '%s.wsgi.staging.application' % SITE_NAME

Julien Furrer's avatar
Julien Furrer committed
15
16
17
18
19
20
21
22
23
24
25
DATABASES = {
    'default': {
        'ENGINE': 'django.db.backends.mysql',
        'NAME': 'adim_dev2',
        'USER': 'adim',
        'PASSWORD': 'ioue634jrs8asdfd0hewq876iujkh9877iuzhiuhg9875kb',
        'HOST': 'localhost',
    },
}

ADIM_PROD = False
Julien Furrer's avatar
Julien Furrer committed
26
ADIM_DEBUG_JS = False