Gitlab CSE Unil

local_settings.py 747 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
23
24
25
26
27
28
29
30
31
"""
This file contains confidential data that shouldn't be versioned nor distributed
It SHOULD define at least the SECRET_KEY config value
"""
DEBUG = True
TEMPLATE_DEBUG = DEBUG

ALLOWED_HOSTS = ('127.0.0.1', )
SECRET_KEY = 'k+zjz_dc&6@yrppyzykv3c6qk1z-tmuestnfe=_zt&me@^m8%u'

try:
    DATABASES['default']['PASSWORD'] = 'fsdkuz289r3jhkasdf987'
    DATABASES['default']['HOST'] = '127.0.0.1'
except NameError:
    pass

SENDFILE_BACKEND = 'sendfile.backends.development'

ADIM_DEBUG_JS = True
ADIM_PROD = False

AAI = {
    'SLO': True,
    # Not yet used
    'URLS': {
        'SP_LOGOUT': "https://jabba.unil.ch/Shibboleth.sso/Logout",
        'idp_LOGOUT': "https://aai.unil.ch/idp/logout.jsp"
    }
}

#INSTALLED_APPS += ( 'debug_toolbar', )