Skip to content
Snippets Groups Projects
Commit d57ff52a authored by Jorrit Schaap's avatar Jorrit Schaap
Browse files

TMSS-139: rebased

parents 9f980974 5625d012
No related branches found
No related tags found
1 merge request!96Resolve TMSS-139
......@@ -14,6 +14,7 @@ import os
import logging
from lofar.common import dbcredentials, isDevelopmentEnvironment
<<<<<<< HEAD
logger = logging.getLogger(__name__)
LOGGING = {
......@@ -66,6 +67,17 @@ LOGGING = {
},
}
}
=======
# logger
logger = logging.getLogger(__name__)
# fix/setup django_auth_ldap logging
logging.getLogger('django_auth_ldap').addHandler(logging.StreamHandler())
logging.getLogger('django_auth_ldap').setLevel(logging.INFO)
# from pprint import pprint
# pprint(dict(os.environ))
>>>>>>> 5625d012ecffb971e8f8808fde16f35bfba34714
# Build paths inside the project like this: os.path.join(BASE_DIR, ...)
BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
......@@ -128,6 +140,10 @@ TEMPLATES = [
]
WSGI_APPLICATION = 'lofar.sas.tmss.tmss.wsgi.application'
<<<<<<< HEAD
=======
>>>>>>> 5625d012ecffb971e8f8808fde16f35bfba34714
# Database
# https://docs.djangoproject.com/en/2.0/ref/settings/#databases
......@@ -181,8 +197,6 @@ REST_FRAMEWORK = {
),
}
# AUTHENTICATION: simple LDAP, or OpenID
if "OIDC_RP_CLIENT_ID" in os.environ.keys():
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment