38 lines
1.5 KiB
Plaintext
38 lines
1.5 KiB
Plaintext
from polynum.settings import INSTALLED_APPS
|
|
|
|
DEBUG = True
|
|
CAS_SERVER_URL = 'https://www.ent.dauphine.fr/cas/'
|
|
CAS_ADMIN_PREFIX = 'coin'
|
|
LDAP_URL = 'ldaps://localhost:2000/'
|
|
LDAP_BASE = 'dc=dauphine,dc=fr'
|
|
LDAP_BIND_PASSWORD = 'coin'
|
|
LDAP_BIND_DN = 'uid=logement,ou=bindusers,dc=dauphine,dc=fr'
|
|
LDAP_USER_QUERY = 'supannAliasLogin=%s'
|
|
SITE_URL = 'http://localhost:8000'
|
|
ADMINS = (
|
|
('Benjamin Dauvergne', 'benjamin.dauvergne@gmail.com'),
|
|
)
|
|
DATABASES = {
|
|
'default': {
|
|
'ENGINE': 'django.db.backends.postgresql_psycopg2', # Add 'postgresql_psycopg2', 'mysql', 'sqlite3' or 'oracle'.
|
|
'NAME': 'polynum', # Or path to database file if using sqlite3.
|
|
'USER': '', # Not used with sqlite3.
|
|
'PASSWORD': '', # Not used with sqlite3.
|
|
'HOST': '', # Set to empty string for localhost. Not used with sqlite3.
|
|
'PORT': '', # Set to empty string for default. Not used with sqlite3.
|
|
}
|
|
}
|
|
DEFAULT_FROM_EMAIL = 'bdauvergne@entrouvert.com'
|
|
print 'Loading polynum_blackboard...'
|
|
ROOT_URLCONF = 'polynum_blackboard.urls'
|
|
INSTALLED_APPS = ('polynum_blackboard',) + INSTALLED_APPS
|
|
|
|
# BB Connector configuration
|
|
POLYNUM_BB_URL = 'https://mycourse.dauphine.fr/webapps/'
|
|
POLYNUM_BB_ADMIN_LOGIN = 'coin'
|
|
POLYNUM_BB_ADMIN_PASSWORD = 'coin'
|
|
POLYNUM_BB_SECRET_KEY = 'coin'
|
|
POLYNUM_BB_COURSE_YEAR = '2012-2013'
|
|
POLYNUM_BB_DIPLOMA_DESIGNATION = 'diplome'
|
|
POLYNUM_BB_UE_DESIGNATION = 'element pedagogique'
|