Browse Source

Add comments

Fabs 11 years ago
parent
commit
5e120f7a85
1 changed files with 4 additions and 0 deletions
  1. 4 0
      coin/settings.py

+ 4 - 0
coin/settings.py

@@ -16,6 +16,7 @@ ADMINS = (
 MANAGERS = ADMINS
 
 DATABASES = {
+    # Base de donnée du SI
     'default': {
         'ENGINE': 'django.db.backends.postgresql_psycopg2',
         'NAME': 'illyse_coin',
@@ -24,6 +25,7 @@ DATABASES = {
         'HOST': '',  # Empty for localhost through domain sockets
         'PORT': '',  # Empty for default
     },
+    # LDAP backend pour stockage et mise à jour de données
     'ldap': {
         'ENGINE': 'ldapdb.backends.ldap',
         'NAME': 'ldap://ldapdev.illyse.org:390',
@@ -176,6 +178,8 @@ AUTHENTICATION_BACKENDS = (
     'django.contrib.auth.backends.ModelBackend',
 )
 
+# LDAP Backend pour authentification
+
 AUTH_LDAP_SERVER_URI = "ldap://ldapdev.illyse.org:390"
 AUTH_LDAP_START_TLS = True
 AUTH_LDAP_GLOBAL_OPTIONS = {ldap.OPT_X_TLS_REQUIRE_CERT: ldap.OPT_X_TLS_NEVER}